SQLEndTran with statement handle
"G, Hemanth Kumar" <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <DB5CCE49324ED540B132892B8F2892490236F635@susday7667.TD.teradata.com> |
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.
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev