On Mon, Aug 24, 2015 at 6:22 PM, Scott Doctor <scott at scottdoctor.com> wrote:
> I have some queries that may take 5-15 seconds to complete. Sometimes the
> situation changes shortly after starting the query where my program does not
> need those results anymore and the program wants to abort and begin a
> different query instead.
>
> My question is: What is the proper way to abort a query, or other operation
> during execution that will not cause any issues?

You can use the sqlite3_progress_handler function for this, as
documented in "http://sqlite.org/c3ref/progress_handler.html";.

-- Ambrus

Reply via email to