diff options
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/firebird/ResultSet.cxx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx index 36c59afbbbfb..c91af92786fd 100644 --- a/connectivity/source/drivers/firebird/ResultSet.cxx +++ b/connectivity/source/drivers/firebird/ResultSet.cxx @@ -569,7 +569,7 @@ Any SAL_CALL OResultSet::getObject( sal_Int32 columnIndex, const uno::Reference< // ------------------------------------------------------------------------- -void SAL_CALL OResultSet::close( ) throw(SQLException, RuntimeException) +void SAL_CALL OResultSet::close() throw(SQLException, RuntimeException) { SAL_INFO("connectivity.firebird", "close()."); @@ -577,6 +577,16 @@ void SAL_CALL OResultSet::close( ) throw(SQLException, RuntimeException) MutexGuard aGuard(m_pConnection->getMutex()); checkDisposed(OResultSet_BASE::rBHelper.bDisposed); + ISC_STATUS_ARRAY aStatusVector; + ISC_STATUS aErr; + aErr = isc_dsql_free_statement(aStatusVector, + &m_statementHandle, + DSQL_drop); + if (aErr) + evaluateStatusVector(aStatusVector, + "isc_dsql_free_statement", + *this); + } dispose(); } |