Kaydet (Commit) 2c463684 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

embedded HSQLDB: reclaim space occupied by deleted rows

Disadvantage is that saving/closing the file may take a significantly longer time

Change-Id: I1cc35c34b49e60d73e8d341549c5a3c5ef314b6d
üst bed3049c
...@@ -180,7 +180,7 @@ namespace connectivity { namespace hsqldb ...@@ -180,7 +180,7 @@ namespace connectivity { namespace hsqldb
if ( !m_bReadOnly ) if ( !m_bReadOnly )
{ {
Reference< XStatement > xStmt( m_xConnection->createStatement(), UNO_QUERY_THROW ); 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" ) ) );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment