Re: SQLGetConnectAttr when called before connection

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
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
_______________________________________________
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.