pub unsafe fn sqlite3_busy_timeout(db: *mut sqlite3, ms: c_int) -> c_int
Expand description
Set A Busy Timeout.
Sets a sqlite3_busy_handler
that sleeps for a specified amount of time
when a table is locked. The handler will sleep multiple times until at
least ms
milliseconds of sleeping have accumulated. After at least ms
milliseconds of sleeping, the handler returns 0 which causes
sqlite3_step()
to return SQLITE_BUSY
.