Previous topic

sqlite3_open

Next topic

sqlite_close

This Page

sqlite_busy_timeoutΒΆ

sqlite_busy_timeout sets the time limit to open a locked SQLite database.

bool = sqlite_busy_timeout(db, nMilliSeconds)

Return Value

bool.

Parameters

db

db is a handle returned by sqlite_open.

nMilliSeconds

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

Overview sqlite

id-1423107