Set journal_mode for installation only
SQLite keeps the mode journal_mode = WAL in the database until setting a different mode with PRAGMA journal_mode=...
This commit is contained in:
parent
ef78e141ba
commit
da7d4d4e03
1 changed files with 1 additions and 1 deletions
|
@ -506,7 +506,7 @@ class Install extends Admin
|
|||
break;
|
||||
case 'sqlite':
|
||||
$this->c->DB_DSN = "sqlite:!PATH!{$dbname}";
|
||||
$this->c->DB_OPTS_AS_STR = '\\PDO::ATTR_TIMEOUT => 5, \'initSQLCommands\' => [\'PRAGMA journal_mode=WAL\',],';
|
||||
$this->c->DB_OPTS_AS_STR = '\\PDO::ATTR_TIMEOUT => 5, /* \'initSQLCommands\' => [\'PRAGMA journal_mode=WAL\',], */';
|
||||
$this->c->DB_OPTIONS = [
|
||||
PDO::ATTR_TIMEOUT => 5,
|
||||
'initSQLCommands' => [
|
||||
|
|
Loading…
Add table
Reference in a new issue