Search found 2 matches
- 24.08.2011, 13:27
- Forum: SQLite
- Topic: Setting sqlite3_busy_timeout throught ZeosLib
- Replies: 3
- Views: 2020
- 24.08.2011, 13:24
- Forum: SQLite
- Topic: How to handle locked file errors?
- Replies: 4
- Views: 2334
I implemented support for sqlite3_busy_timeout() by adding the following piece of code to TZSQLiteConnection.Open() { Set busy timeout if requested } Timeout_ms := StrToIntDef(Info.Values['busytimeout'], -1); if Timeout_ms >= 0 then begin FPlainDriver.BusyTimeout(FHandle, Timeout_ms); end; Now you c...