Incorrect states with SQLTransact

"G, Hemanth Kumar" <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <DB5CCE49324ED540B132892B8F289249026E0982@susday7667.TD.teradata.com>
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.

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.