[unixODBC-dev] SQLDisconnect giving SQL_SUCCESS instead of HY010 (Function sequence error)

G, Hemanth Kumar Hemanth.G at Teradata.com
Tue Jun 30 12:59:59 BST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20090630/c99a98a6/attachment.html>


More information about the unixODBC-dev mailing list