On Feb 3, 2009, at 11:37 AM, Alexey Pechnikov wrote: > Hello! > > В сообщении от Tuesday 03 February 2009 16:22:59 D. > Richard Hipp написал(а): >>> How can I detect opened transaction on my database connection from >>> the code? When I start transaction/checkpoint, then I am missing >>> some >>> API or SQL command like 'IsTransactionOpen'. >> >> http://www.sqlite.org/c3ref/get_autocommit.html > > And how to do it from tcl interface? >
There is no way to do this in the TCL interface. In TCL, you should probably use the "transaction" method of the database connection object and thereby completely avoid the question. D. Richard Hipp d...@hwaci.com _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users