~zeitgeist/zeitgeist/fix-642772

Viewing all changes in revision 1589.

  • Committer: Siegfried-Angel Gevatter Pujals
  • Author(s): Seif Lotfy
  • Date: 2010-09-18 15:09:08 UTC
  • Revision ID: rainct@ubuntu.com-20100918150908-03d463fxnsk03e29
Merge ~zeitgeist/zeitgeist/pragma-settings.

We change SQLite's locking mode to EXCLUSIVE, since this gives us a
little reduction in file-system operations and ensures that there is
only one process accessing the database.

We also set the journal mode to the newly available WAL, if the
system has a new enough SQLite (3.7.0+). This results in further
performance improvements but it's important to note that this change
is irreversible.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: