SQLGetConnectAttr when called before connection

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

SQLGetConnectAttr with SQL_ATTR_PACKET_SIZE (which requires an open
connection), when called before connecting, must return 08003
(Connection does not exist.)
Returns SQL_SUCCESS instead.

SQLGetConnectAttr(hdbc, SQL_ATTR_PACKET_SIZE, &sdwValue, 0, NULL); (when
called before the connection is open)
Expected : 08003 (Connection does not exist.))
Received : SQL_SUCCESS

Please verify.

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.