From 53ec564f3b571328c3d115db40e1d6b419c0416e Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 1 Sep 2016 17:36:23 +0200 Subject: [PATCH] owncloud --- lib/php/db/types/sqlite.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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', -- 2.47.3