aboutsummaryrefslogtreecommitdiff
path: root/src/peerstore/plugin_peerstore_sqlite.c
diff options
context:
space:
mode:
authorOmar Tarabai <tarabai@devegypt.com>2014-06-05 13:45:58 +0000
committerOmar Tarabai <tarabai@devegypt.com>2014-06-05 13:45:58 +0000
commit0e401901158427e51fc3b2d1bb58cb8b6bc6d499 (patch)
treea839d0ea624aab0f1031c884d3784c97d529fb07 /src/peerstore/plugin_peerstore_sqlite.c
parentd33c98924608b9aa01fe5e77330a7d7f11849acb (diff)
downloadgnunet-0e401901158427e51fc3b2d1bb58cb8b6bc6d499.tar.gz
gnunet-0e401901158427e51fc3b2d1bb58cb8b6bc6d499.zip
peerstore: changed sqlite to async operations
Diffstat (limited to 'src/peerstore/plugin_peerstore_sqlite.c')
-rw-r--r--src/peerstore/plugin_peerstore_sqlite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peerstore/plugin_peerstore_sqlite.c b/src/peerstore/plugin_peerstore_sqlite.c
index 3dd67024b..fdf25c79c 100644
--- a/src/peerstore/plugin_peerstore_sqlite.c
+++ b/src/peerstore/plugin_peerstore_sqlite.c
@@ -435,7 +435,7 @@ database_setup (struct Plugin *plugin)
435 } 435 }
436 436
437 sql_exec (plugin->dbh, "PRAGMA temp_store=MEMORY"); 437 sql_exec (plugin->dbh, "PRAGMA temp_store=MEMORY");
438 sql_exec (plugin->dbh, "PRAGMA synchronous=NORMAL"); 438 sql_exec (plugin->dbh, "PRAGMA synchronous=OFF");
439 sql_exec (plugin->dbh, "PRAGMA legacy_file_format=OFF"); 439 sql_exec (plugin->dbh, "PRAGMA legacy_file_format=OFF");
440 sql_exec (plugin->dbh, "PRAGMA auto_vacuum=INCREMENTAL"); 440 sql_exec (plugin->dbh, "PRAGMA auto_vacuum=INCREMENTAL");
441 sql_exec (plugin->dbh, "PRAGMA encoding=\"UTF-8\""); 441 sql_exec (plugin->dbh, "PRAGMA encoding=\"UTF-8\"");