Skip to content

Commit 73dc3be

Browse files
committed
refactor: use SQLite3::busyTimeout() method
1 parent f436b15 commit 73dc3be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Database/SQLite3/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function initialize()
6363
}
6464

6565
if (is_int($this->busyTimeout)) {
66-
$this->simpleQuery('PRAGMA busy_timeout=' . $this->busyTimeout);
66+
$this->connID->busyTimeout($this->busyTimeout);
6767
}
6868
}
6969

0 commit comments

Comments
 (0)