From: Nicolas Boisselier Date: Mon, 5 Sep 2016 15:47:54 +0000 (+0100) Subject: type.tables X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=f4fc477f9e36b6790d43446a8d2c6662b58c1778;p=nb.git type.tables --- 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);