[unixODBC-dev] SQLEndTran with statement handle

G, Hemanth Kumar Hemanth.G at Teradata.com
Thu Jun 18 08:07:56 BST 2009


Hi,

        SQLEndTran when called with statement handle must return
SQL_ERROR (HY092) (Invalid attribute/option identifier).
Returns SQL_INVALID_HANDLE instead.


ODBC spec:-
---------------------------------
HY092 
Invalid attribute/option identifier 
(DM) The value specified for the argument HandleType was neither
SQL_HANDLE_ENV nor SQL_HANDLE_DBC. 
---------------------------------

rc = SQLEndTran(SQL_HANDLE_STMT, hstmt, SQL_COMMIT);
Expected : SQL_ERROR (HY092) (Invalid attribute/option identifier)
Received : SQL_INVALD_HANDLE

Please check this once.

Thanks
Hemanth.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20090618/63c1bae9/attachment.html>


More information about the unixODBC-dev mailing list