← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 314: added WAL pragma

 

------------------------------------------------------------
revno: 314
committer: Seif Lotfy <seif@xxxxxxxxx>
branch nick: bluebird
timestamp: Fri 2011-10-14 19:47:31 +0200
message:
  added WAL pragma
modified:
  src/sql-schema.vala


--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/sql-schema.vala'
--- src/sql-schema.vala	2011-10-11 16:34:37 +0000
+++ src/sql-schema.vala	2011-10-14 17:47:31 +0000
@@ -37,6 +37,8 @@
         {
             // TODO: PRAGMA: WAL
 
+            exec_query (database, "PRAGMA journal_mode = WAL;");
+
             //if (Constants.DATABASE_FILE_PATH != ":memory:" && !new_db)
             // assume temporary memory backed DBs are good
             // check_core_schema_upgrade