On 2 Jan 2014, at 2:57pm, Yuriy Kaminskiy <yum...@gmail.com> wrote: > Simon Slavin wrote: >> sqlite3_busy_timeout() > > Waiting for timeout *cannot* fix any errors that can trigger failure in > sqlite3_close. Those are *program logic* errors.
I am not trying to fix your program logic errors. I am telling you how to replace the code in your program which doesn't work (the way you handle SQLITE_BUSY in the code you wrote) with code which does work (SQLite's own internal way of handling a busy database). Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users