https://bugs.freedesktop.org/show_bug.cgi?id=53473

--- Comment #2 from Fred Toussi <[email protected]> 2012-08-14 
23:16:54 UTC ---
Re hsqldb.applog: yes, this turns on the event log. In version 1.8.0, you can
include this in the .properties file of a database embedded in .odb if you want
to try it.

Re the need for flush() and CHECKPOINT in the OO 3.4 code, (I am referring here
to the logical files which are zipped by OO):

Among the database files, the .log file is implemented as an OutputStream.
HSQLDB writes to this stream, and at regular timed intervals calls the
FileDescriptor#sync() method.

An instance of FileAccess is provided by OO. The FileDescriptor is provided by
this instance.

It is not necessary to write the changes to the zip at each commit. It can be
delayed until the FileDescriptor#sync() is called. The delay can be a few 
seconds.

Note HSQLDB 1.8.0 and 2.x write the changes and commits to the .log file
somewhat differently, which may explain the frequent flush() and CHECKPOINT I
observed in my tests.

It would be worth comparing the code to the CWS, as this was written against
versions 2.0 and 2.1.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to