Isn't the interrupt in play until all active statements have been stopped? Including statements that are added after the interrupt is called? I just want to make sure it is safe to call the next statement.
" Any new SQL statements that are started after the sqlite3_interrupt() call and before the running statements reaches zero are interrupted as if they had been running prior to the sqlite3_interrupt() call." On Mon, Apr 7, 2014 at 11:52 AM, Richard Hipp <[email protected]> wrote: > On Mon, Apr 7, 2014 at 2:47 PM, E. Timothy Uy <[email protected]> wrote: > > > Hi, I am considering using sqlite3_interrupt to interrupt a long query - > > but the documentation states that the order will stand until the activate > > statement count is zero. How do I know that the activate statement count > is > > zero? > > > > You could use http://www.sqlite.org/c3ref/stmt_busy.html > > Why do you think you need to know that? What does your application do > differently if the active statement count is zero versus if it is not? > > > > > -- > D. Richard Hipp > [email protected] > _______________________________________________ > 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

