Dan, On Sun, Oct 28, 2012 at 10:07 PM, Dan Kennedy <[email protected]> wrote: > On 10/29/2012 07:35 AM, Igor Korot wrote: >> >> Hi, ALL, >> Will I be punished if I call ROLLBACK outside transaction? > > > No. You will be rewarded with an error code though.
Good ;-) I guess I will need to find the error id to return in this case. Thank you. > > To check if an SQLite connection has an open write-transaction: > > http://www.sqlite.org/c3ref/get_autocommit.html > > Dan. > _______________________________________________ > sqlite-users mailing list > [email protected] > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

