On Thu, Mar 17, 2011 at 12:30 AM, Igor Tandetnik <itandet...@mvps.org>wrote:
> Afriza N. Arief <afriza...@gmail.com> wrote: > > What is the correct way of detecting existing transaction? > > sqlite3_get_autocommit > Correct. Or, you could just always use SAVEPOINT which works the same as BEGIN if you are not already in a transaction. > -- > Igor Tandetnik > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users