From f4fc477f9e36b6790d43446a8d2c6662b58c1778 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Mon, 5 Sep 2016 16:47:54 +0100 Subject: [PATCH] type.tables --- etc/dbs/all.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/etc/dbs/all.php b/etc/dbs/all.php index 23c0a099..49c63ad8 100644 --- a/etc/dbs/all.php +++ b/etc/dbs/all.php @@ -16,6 +16,12 @@ $CONF['all'] = array( 'options' => [ PDO::ATTR_PERSISTENT => true, ], + 'types' => [ + 'exec' => [ + 'PRAGMA synchronous=NORMAL', + 'PRAGMA journal_mode=MEMORY', + ] + ], ); $attach = []; foreach ([ @@ -38,7 +44,6 @@ usort($attach,function($a,$b){ }); if (!$attach) return; -$CONF['all']['types']['exec'] = []; $CONF['all']['_import'] = []; if (nb::p('debug')=='all') debug($attach); -- 2.47.3