Re: Incorrect states with SQLTransact

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
G, Hemanth Kumar wrote:
>
> Hello Nick,
>
> SQLTransact(henv, NULL, 0) when called before connecting is expected 
> to return SQL_SUCCESS. Instead, is returning 08003.
>
> SQLTransact(henv,SQL_NULL_HDBC,SQL_COMMIT);
> Expected: SQL_SUCCESS
> Received : 08003 (Connection does not exit)
>
> SQLTransact with statement handle is giving success. Ideally, should 
> return invalid handle.
> SQLTransact(hstmt, hdbc, SQL_COMMIT);
> Expected : SQL_INVALID_HANDLE
> Received: SQL_SUCCESS
>
> Please verify them once.
>
> Thanks
> Hemanth.
>
Should be done now.

-- 
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.