On Thu, Mar 17, 2011 at 12:30 AM, Igor Tandetnik <[email protected]>wrote:

> Afriza N. Arief <[email protected]> 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
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to