diff options
-rw-r--r-- | connectivity/source/drivers/firebird/PreparedStatement.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx index 3dfb092d12e7..cf4823f1dfbc 100644 --- a/connectivity/source/drivers/firebird/PreparedStatement.cxx +++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx @@ -250,17 +250,6 @@ sal_Bool SAL_CALL OPreparedStatement::execute() if (m_xResultSet.is()) // Checks whether we have already run the statement. { disposeResultSet(); - // Closes the cursor from the last run. - // This doesn't actually free the statement -- using DSQL_close closes - // the cursor and keeps the statement, using DSQL_drop frees the statement - // (and associated cursors). - aErr = isc_dsql_free_statement(m_statusVector, - &m_aStatementHandle, - DSQL_close); - if (aErr) - evaluateStatusVector(m_statusVector, - "isc_dsql_free_statement: close cursor", - *this); } aErr = isc_dsql_execute(m_statusVector, |