]> git.nbdom.net Git - nb.git/commitdiff
owncloud
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 1 Sep 2016 15:36:23 +0000 (17:36 +0200)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Thu, 1 Sep 2016 15:36:23 +0000 (17:36 +0200)
lib/php/db/types/sqlite.php

index 56d6117e58f6a6a8aacaae216b28c7770b443330..18a4ce8ee1feb060d9057ce10f9a139948ba8ff5 100644 (file)
@@ -5,12 +5,14 @@ if (!class_exists('Db')) {
 }
 $DB_TYPES['sqlite'] = array (
 'exec' => [
+  #'PRAGMA journal_mode = MEMORY',
+  #'PRAGMA journal_mode = WAL',
+  #'PRAGMA journal_mode = OFF',
+  #'PRAGMA synchronous = OFF',
+  #'PRAGMA auto_vacuum=2',
   'PRAGMA encoding = "'.strtoupper(Db::$encoding).'"', 
   #'PRAGMA temp_store = 2',
   #'PRAGMA read_uncommitted = false',
-  #'PRAGMA journal_mode = WAL',
-  #'PRAGMA journal_mode = MEMORY',
-  #'PRAGMA journal_mode = OFF',
 ],
 'use_path' => true,
 'extra_where' => 'denorm',