On 7 Jan 2014, at 10:13am, Woody Wu <[email protected]> wrote: > Thanks for the clear guide. _busy_timeout is easier to use. By the way, i > want confirm that if i am not in an explicit transaction, i can simply redo > the _step() invoking, right?
However, if you are using _timeout() properly, you should never need to recover to an understood situation after a SQLITE_BUSY, since a _BUSY result will always indicate an unrecoverable error. Therefore you will never need to figure out whether you should be doing a ROLLBACK. Just _finalize() the operation (then probably _close() and quit the program) and it either worked or it didn't. Simon. _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

