On 5 Sep 2011, at 6:24pm, Stephan Beal wrote: > On Mon, Sep 5, 2011 at 7:11 PM, Simon Slavin <[email protected]> wrote: > >> It should be. However, if you have a multi-user, multi-process or >> multi-thread setup, please make absolutely certain that you handle all >> SQLite result codes apart from SQLITE_OK correctly. If you don't have to >> worry about multi-anything, then you shouldn't see anything alarming. > > Doh, i wasn't aware that an explicit rollback is treated as an error, but my > quick tests with the JavaScript bindings show that it is.
I was surprised too, though having seen that it makes sense. Even more sense when you remember they're called 'result codes' not 'error codes': http://www.sqlite.org/c3ref/c_abort.html Simon. _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

