[unixODBC-dev] SQLGetStmtAttr returns SQL_SUCCESS for 24000 (Invalid cursor state)
G, Hemanth Kumar
Hemanth.G at Teradata.com
Fri Jun 19 10:44:04 BST 2009
Hi Nick,
SQLGetStmtAttr when called with argument attr SQL_ATTR_ROW_NUMBER
and the cursor was not open, should return 24000 (Invalid cursor state).
But is returning SQL_SUCCESS instead.
SQLGetStmtAttr(hstmt, SQL_ATTR_ROW_NUMBER, &val, 0, &strlen); //called
soon after SQLExecute
Expected : 24000 (Invalid cursor state)
Received : SQL_SUCCESS
Please verify this one.
Thanks,
Hemanth.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20090619/e99db7b2/attachment.html>
More information about the unixODBC-dev
mailing list