[unixODBC-dev] SQLGetConnectAttr when called before connection
Nick Gorham
nick at lurcher.org
Thu Jun 18 09:42:40 BST 2009
G, Hemanth Kumar wrote:
>
> 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.
>
Sorry, ignore that, it was set not get I was checking.
--
Nick
More information about the unixODBC-dev
mailing list