[unixODBC-dev] Incorrect states with SQLTransact

Nick Gorham nick at lurcher.org
Mon Jul 6 10:44:54 BST 2009


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


More information about the unixODBC-dev mailing list