← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 359: Add Exclusive lock for secure writing

 

------------------------------------------------------------
revno: 359
committer: Seif Lotfy <seif@xxxxxxxxx>
branch nick: zeitgeist
timestamp: Sat 2011-12-31 20:15:54 +0100
message:
  Add Exclusive lock for secure writing
modified:
  src/sql-schema.vala


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

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
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-31 15:28:09 +0000
+++ src/sql-schema.vala	2011-12-31 19:15:54 +0000
@@ -95,6 +95,7 @@
             throws EngineError
         {
             exec_query (database, "PRAGMA journal_mode = WAL");
+            exec_query (database, "PRAGMA locking_mode = EXCLUSIVE");
 
             // URI
             exec_query (database, """