diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2012-07-03 20:17:01 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2012-07-03 20:20:56 +0200 |
commit | 2c46368432bd4f1bd86c7f3fb6c25ec5ad05dee7 (patch) | |
tree | 32941ff52f6ee9451695ced9b3d503d44ca0b9f2 /connectivity | |
parent | fdo#36824 hsqldb properly escape automatically built names (diff) | |
download | core-2c46368432bd4f1bd86c7f3fb6c25ec5ad05dee7.tar.gz core-2c46368432bd4f1bd86c7f3fb6c25ec5ad05dee7.zip |
embedded HSQLDB: reclaim space occupied by deleted rows
Disadvantage is that saving/closing the file may take a significantly longer time
Change-Id: I1cc35c34b49e60d73e8d341549c5a3c5ef314b6d
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/hsqldb/HConnection.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/hsqldb/HConnection.cxx b/connectivity/source/drivers/hsqldb/HConnection.cxx index 1c85dde2191c..ee7c5b2bf6bc 100644 --- a/connectivity/source/drivers/hsqldb/HConnection.cxx +++ b/connectivity/source/drivers/hsqldb/HConnection.cxx @@ -180,7 +180,7 @@ namespace connectivity { namespace hsqldb if ( !m_bReadOnly ) { Reference< XStatement > xStmt( m_xConnection->createStatement(), UNO_QUERY_THROW ); - xStmt->execute( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "CHECKPOINT" ) ) ); + xStmt->execute( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "CHECKPOINT DEFRAG" ) ) ); } } |