summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/odbc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-02 09:30:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-02 09:46:32 +0100
commitb26ccfa08014ec9226aecdc9bfa9f1355ce660eb (patch)
treee40d759c43c2029f10112967bec42a2846da5eb8 /connectivity/source/drivers/odbc
parentc12e8e6435fa6b9351b9e9dc2521a872af53930c (diff)
coverity#706368 Uncaught exception
Change-Id: Ia8988be31ed4dc4843bd6c2573ec14efa3af6397
Diffstat (limited to 'connectivity/source/drivers/odbc')
-rw-r--r--connectivity/source/drivers/odbc/OStatement.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/drivers/odbc/OStatement.cxx b/connectivity/source/drivers/odbc/OStatement.cxx
index f1bcd6fd67c9..3e1f82997bf7 100644
--- a/connectivity/source/drivers/odbc/OStatement.cxx
+++ b/connectivity/source/drivers/odbc/OStatement.cxx
@@ -235,7 +235,8 @@ void OStatement_Base::clearMyResultSet () throw (SQLException)
m_xResultSet.clear();
}
-SQLLEN OStatement_Base::getRowCount () throw( SQLException)
+SQLLEN OStatement_Base::getRowCount()
+ throw (SQLException, RuntimeException)
{
::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed);