Oracle Community Directory
Oracle Community FAQ
My Oracle Support Community (MOSC)
Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Please enter a title.
You can not post a blank message. Please type your message and try again.
Database Application Development
Windows and .NET
This discussion is archived
on Feb 17, 2012 9:23 PM by 392474
Problem with SQL_ATTR_ROW_STATUS_PTR on 11.02.0030
Feb 17, 2012 9:23 PM
The problem occur only with version *11.02.0030* all other previous version of the client work has expected.
If you set a row status ptr. This properties is supposed to be an SQLUSMALLINT (unsign short)
So assuming my code does sothing like:
m_rgRowStatus=(SQLUSMALLINT *)malloc(112 * sizeof(SQLUSMALLINT));
::SQLSetStmtOption(m_hstmt, SQL_ATTR_ROW_ARRAY_SIZE, 112)
::SQLSetStmtOption(m_hstmt, SQL_ATTR_ROW_STATUS_PTR, m_rgRowStatus));
After a call to
AFX_ODBC_CALL(::SQLFetchScroll(m_hstmt, SQL_FETCH_NEXT, 0));
The status of each row get rewriten has if it was
effectively overwriting memory.
Maybe a screens shots will help:
Of course this is a major problem.
Any Idea or workaround?
Edited by: ca109900 on Feb 17, 2012 1:22 PM
I have the same question
Show 0 Likes
This content has been marked as final.
Show 0 replies