diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-04-05 11:15:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-04-05 11:15:26 +0000 |
commit | e8b673fb299c01668f6c0ed4a4af3d2781d3895e (patch) | |
tree | 6909c707ccc83d8e1fb1fcbdd178740453ccf9a1 | |
parent | d5ca25d46378550735a9e62fa508a348112a49fd (diff) |
off
-rw-r--r-- | src/datacache/plugin_datacache_sqlite.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datacache/plugin_datacache_sqlite.c b/src/datacache/plugin_datacache_sqlite.c index cb6e48f91c..0341c76dc4 100644 --- a/src/datacache/plugin_datacache_sqlite.c +++ b/src/datacache/plugin_datacache_sqlite.c @@ -415,6 +415,8 @@ libgnunet_plugin_datacache_sqlite_init (void *cls) GNUNET_free (fn); SQLITE3_EXEC (dbh, "PRAGMA temp_store=MEMORY"); + SQLITE3_EXEC (dbh, "PRAGMA locking_mode=EXCLUSIVE"); + SQLITE3_EXEC (dbh, "PRAGMA journal_mode=OFF"); SQLITE3_EXEC (dbh, "PRAGMA synchronous=OFF"); SQLITE3_EXEC (dbh, "PRAGMA count_changes=OFF"); SQLITE3_EXEC (dbh, "PRAGMA page_size=4092"); |