|
SQLite3::busyTimeoutSets the busy connection handler Description
public bool SQLite3::busyTimeout(int
$milliseconds)Sets a busy handler that will sleep until the database is not locked or the timeout is reached.
The busy handler is built into SQLite, so no callback has to be provided.
When a statement finds the database locked by another connection, SQLite
keeps retrying for up to
How that failure shows up depends on
SQLite3::enableExceptions. With exceptions enabled,
an SQLite3Exception is thrown. Otherwise an
By default no busy handler is set, so a statement fails right away if the database is locked. Parameters
Return Values
Returns |