SQLGetStmtAttr returns SQL_SUCCESS for 24000 (Invalid cursor state)
"G, Hemanth Kumar" <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <DB5CCE49324ED540B132892B8F289249023D7503@susday7667.TD.teradata.com> |
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.
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev