Storing/extracting embedded db within .odb

Lionel Elie Mamane lionel at mamane.lu
Tue Jul 9 06:59:24 PDT 2013


On Mon, Jul 08, 2013 at 03:19:49PM +0100, Andrzej J. R. Hunt wrote:

> W.r.t. to the location of the extracted firebird db: would an appropriate naming scheme be to have
> e.g. ~foo.odb.fdb#  for a foo.odb (in the same directory) similarly to the lock files that are
> created? (This could also allow for better recovery should we end up with similar corruption
> as is apparently happening with HSQLDB if there is a complete
> separate db.)

It is a temporary file. I'd stick it in $TMPDIR (or the platform
equivalent). Surely LibreOffice already has a platform abstraction
utility function to find where to put temporary files.

-- 
Lionel


More information about the LibreOffice mailing list