SQLEndTran(henv) returns SQL_SUCCESS for HY010

"G, Hemanth Kumar" <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <DB5CCE49324ED540B132892B8F2892490264F288@susday7667.TD.teradata.com>
Hi Nick,

      When SQLExecute returns SQL_NEED_DATA, following it, SQLEndTran
with environment handle must return HY010 (Function sequence error).
Instead, returns SQL_SUCCESS.

SQLExecute() -> SQL_NEED_DATA
SQLEndTran(SQL_HANDLE_ENV, henv, SQL_COMMIT);
Expected : HY010
Received : SQL_SUCCESS

Please check this.

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.