On 10 Jul 2012, at 7:50pm, "[email protected]" <[email protected]> wrote:

> sqlite3_busy_timeout(db, 23) e.g.

23 milliseconds is a very little time for a timeout.  Even just a hard disk 
spinning up can take 800 milliseconds.

Can I suggest, for testing purposes, that you use a timeout of perhaps 5000 
milliseconds ?  If you're still getting SQLITE_BUSY or SQLITE_LOCKED with that 
timeout, then you really do have something that need proper planning.

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to