Merge "rdbms: clean up and simplify toString() handle for Database"
[lhc/web/wiklou.git] / includes / libs / rdbms / database / DatabaseSqlite.php
index dcc7c46..aff3774 100644 (file)
@@ -217,7 +217,7 @@ class DatabaseSqlite extends Database {
                        $this->query( 'PRAGMA case_sensitive_like = 1' );
 
                        $sync = $this->connectionVariables['synchronous'] ?? null;
-                       if ( in_array( $sync, [ 'EXTRA', 'FULL', 'NORMAL' ], true ) ) {
+                       if ( in_array( $sync, [ 'EXTRA', 'FULL', 'NORMAL', 'OFF' ], true ) ) {
                                $this->query( "PRAGMA synchronous = $sync" );
                        }