[unixODBC-dev] Issue with SQLDrivers

G, Hemanth Kumar Hemanth.G at Teradata.com
Tue Jun 30 08:08:46 BST 2009


Hello Nick,

       SQLDrivers() when called before setting the environment ODBC
Version should return HY010.
But is returning incorrect HY090. And the sqlstate from SQLError shows
S1010.

------------------------------------------------------------------------
----------------------------------------------
[ODBC][29016][1246344786.168083][__handles.c][459]
                Exit:[SQL_SUCCESS]
                        Environment = 0x403090
[ODBC][29016][1246344786.168161][SQLDrivers.c][235]
                Entry:
                        Environment = 0x403090
                        Direction = 2
[ODBC][29016][1246344786.168182][SQLDrivers.c][281]Error: HY090
[ODBC][29016][1246344786.168221][SQLError.c][514]
                Entry:
                        Environment = 0x403090
                        SQLState = 0x7f8ff63e
                        Native = 0x7f8ff740
                        Message Text = 0x7f8ff53e
                        Buffer Length = 256
                        Text Len Ptr = 0x7f8ff73e
[ODBC][29016][1246344786.168715][SQLError.c][551]
                Exit:[SQL_SUCCESS]
                        SQLState = S1010
                        Native = 0x7f8ff740 -> 0
                        Message Text = [[unixODBC][Driver
Manager]Function sequence error]
------------------------------------------------------------------------
--------------------------------------------

Please verify this...

Thanks,
Hemanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20090630/7fb2e5ba/attachment.html>


More information about the unixODBC-dev mailing list