Search found 2 matches

by johank
24.08.2011, 13:27
Forum: SQLite
Topic: Setting sqlite3_busy_timeout throught ZeosLib
Replies: 3
Views: 1966

I just posted a simple fix for this here http://zeos.firmos.at/viewtopic.php?t=2853
by johank
24.08.2011, 13:24
Forum: SQLite
Topic: How to handle locked file errors?
Replies: 4
Views: 2225

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...