summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/drivers/firebird/PreparedStatement.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index eb2fc178e71e..d1261d441a6a 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -300,12 +300,7 @@ sal_Int32 SAL_CALL OPreparedStatement::executeUpdate()
Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery()
throw(SQLException, RuntimeException)
{
- if (!execute())
- {
- // execute succeeded but no results
- throw SQLException(); // TODO: add message to exception
- }
-
+ execute();
return m_xResultSet;
}