Comment 40 for bug 457791

Revision history for this message
In , Shawn Wilsher (sdwilsh) wrote :

(In reply to comment #32)
hrm, well, I'm stumped. If somebody on Linux who sees this issue wants to apply my test to their tree and see how it goes, that'd be awesome. To make it even more look cookie service, you can add these two lines after the call to openDatabase:
db.executeSimpleSQL("PRAGMA synchronous = OFF");
db.executeSimpleSQL("PRAGMA locking_mode = EXCLUSIVE");

Also, you should change the call to openDatabase to openUnsharedDatabase. At that point, the database is setup exactly like the cookie database

> And, for completeness, since someone mentioned the compiler option
> -DSQLITE_SECURE_DELETE=1, the compiler versions and flags:
Note that it's a module define, so you won't see it in that list anyway. It is defined here:
http://mxr.mozilla.org/mozilla1.9.1/source/db/sqlite3/src/Makefile.in#95