diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-07 18:16:41 +0100 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2013-08-07 18:23:37 +0100 |
commit | 89b37927c0cd62cd648dd7d085c761545451e659 (patch) | |
tree | aa0d8d181f9fcd2647e0da5fa65136e3fc715ce6 /connectivity/source/drivers/firebird/Connection.cxx | |
parent | ebe37593c53f9fbad0e9a798834db10fc19b7479 (diff) |
Add error checking to commit(). (firebird-sdbc)
Change-Id: I0717fad287f95d510d044055edc11737fde0c505
Diffstat (limited to 'connectivity/source/drivers/firebird/Connection.cxx')
-rw-r--r-- | connectivity/source/drivers/firebird/Connection.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/connectivity/source/drivers/firebird/Connection.cxx b/connectivity/source/drivers/firebird/Connection.cxx index db2652323ccd..0402581597bd 100644 --- a/connectivity/source/drivers/firebird/Connection.cxx +++ b/connectivity/source/drivers/firebird/Connection.cxx @@ -492,6 +492,9 @@ void SAL_CALL OConnection::commit() throw(SQLException, RuntimeException) { clearStatements(); isc_commit_transaction(status_vector, &m_transactionHandle); + evaluateStatusVector(status_vector, + "isc_commit_transaction", + *this); } } |