From: Nicolas Boisselier Date: Thu, 1 Sep 2016 15:36:23 +0000 (+0200) Subject: owncloud X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=53ec564f3b571328c3d115db40e1d6b419c0416e;p=nb.git owncloud --- diff --git a/lib/php/db/types/sqlite.php b/lib/php/db/types/sqlite.php index 56d6117e..18a4ce8e 100644 --- a/lib/php/db/types/sqlite.php +++ b/lib/php/db/types/sqlite.php @@ -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',