diff options
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_tools.cxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_tools.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_tools.cxx b/connectivity/source/drivers/postgresql/pq_tools.cxx index d54d6d33803f..00c5a0c8cc48 100644 --- a/connectivity/source/drivers/postgresql/pq_tools.cxx +++ b/connectivity/source/drivers/postgresql/pq_tools.cxx @@ -367,20 +367,6 @@ void disposeNoThrow( const com::sun::star::uno::Reference< com::sun::star::uno:: } -void rollbackNoThrow( const com::sun::star::uno::Reference< com::sun::star::sdbc::XConnection > & r ) -{ - try - { - Reference< XStatement > stmt = r->createStatement(); - stmt->executeUpdate( getStatics().ROLLBACK ); - - } - catch( SQLException & ) - { - // ignore this - } -} - Reference< XConnection > extractConnectionFromStatement( const Reference< XInterface > & stmt ) { Reference< XConnection > ret; |