sqlite_busy_timeout sets the time limit to open a locked SQLite database.
Return Value
bool.
Parameters
db is a handle returned by sqlite_open.
nMilliSeconds is a time in milliseconds.
Comment
When the SQLite database is accessed for reading it is locked for writing until the reading access is finished. Another process cannot access the database while it is locked. The timeout time sets a limit while this process tries to access the locked database. If the database is unlocked within the timeout time it can be accessed, otherwise an access fails.
See also
id-1423107