SQLDisconnect giving SQL_SUCCESS instead of HY010 (Function sequence error)

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

         When SQLDisconnect() is called after SQLExecDirect with
SQL_NEED_DATA, it should not give success but should throw HY010
(Function sequence error).

------------------------------------------------------------------------
----------------
[ODBC][29577][1246363012.343508][SQLExecDirect.c][503]
                Exit:[SQL_NEED_DATA]
[ODBC][29577][1246363012.343535][SQLDisconnect.c][208]
                Entry:
                        Connection = 0x403810
[ODBC][29577][1246363012.453898][SQLDisconnect.c][345]
                Exit:[SQL_SUCCESS]
------------------------------------------------------------------------
----------------

Please have a look..

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.