summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-12 09:27:49 +0100
committerAndrzej J.R. Hunt <andrzej@ahunt.org>2013-07-12 09:38:13 +0100
commitc5587174570b9f1f64c03eccdc530f7b2e4ae582 (patch)
treef53b832dd611d0b8f7ed367af3bad8ff7e04e09f
parentImplement transaction isolation in firebird-sdbc. (diff)
downloadcore-c5587174570b9f1f64c03eccdc530f7b2e4ae582.tar.gz
core-c5587174570b9f1f64c03eccdc530f7b2e4ae582.zip
Clean up and remove warnings for unsupported methods.
Change-Id: Id1a6c3c438c88791654ca9f301dbc7763caebeab
-rw-r--r--connectivity/source/drivers/firebird/FConnection.cxx23
1 files changed, 9 insertions, 14 deletions
diff --git a/connectivity/source/drivers/firebird/FConnection.cxx b/connectivity/source/drivers/firebird/FConnection.cxx
index 25aa25164eb6..89d1967aa6fe 100644
--- a/connectivity/source/drivers/firebird/FConnection.cxx
+++ b/connectivity/source/drivers/firebird/FConnection.cxx
@@ -489,23 +489,18 @@ sal_Bool SAL_CALL OConnection::isReadOnly() throw(SQLException, RuntimeException
return m_bReadOnly;
}
-// --------------------------------------------------------------------------------
-void SAL_CALL OConnection::setCatalog( const ::rtl::OUString& catalog ) throw(SQLException, RuntimeException)
-{
- ::osl::MutexGuard aGuard( m_aMutex );
- checkDisposed(OConnection_BASE::rBHelper.bDisposed);
- // if your database doesn't work with catalogs you go to next method otherwise you kjnow what to do
-}
-// --------------------------------------------------------------------------------
-::rtl::OUString SAL_CALL OConnection::getCatalog( ) throw(SQLException, RuntimeException)
+void SAL_CALL OConnection::setCatalog(const OUString& catalog)
+ throw(SQLException, RuntimeException)
{
- ::osl::MutexGuard aGuard( m_aMutex );
- checkDisposed(OConnection_BASE::rBHelper.bDisposed);
-
+ // Unsupported
+ (void) catalog;
+}
- // return your current catalog
- return ::rtl::OUString();
+OUString SAL_CALL OConnection::getCatalog() throw(SQLException, RuntimeException)
+{
+ // Unsupported
+ return OUString();
}
void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 level ) throw(SQLException, RuntimeException)