[unixODBC-dev] Incorrect states with SQLTransact

G, Hemanth Kumar Hemanth.G at Teradata.com
Wed Jul 1 06:15:17 BST 2009


Hello Nick,

SQLTransact(henv, NULL, 0) when called before connecting is expected to
return SQL_SUCCESS. Instead, is returning 08003.
SQLTransact(henv,SQL_NULL_HDBC,SQL_COMMIT);
Expected: SQL_SUCCESS
Received : 08003 (Connection does not exit)

SQLTransact with statement handle is giving success. Ideally, should
return invalid handle.
SQLTransact(hstmt, hdbc, SQL_COMMIT);
Expected : SQL_INVALID_HANDLE
Received: SQL_SUCCESS

Please verify them once.

Thanks
Hemanth.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20090701/cd5852b3/attachment.html>


More information about the unixODBC-dev mailing list