------------------------------------------------------------
revno: 359
committer: Seif Lotfy <s...@lotfy.com>
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, """

_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to