Nuno Lucas wrote:
> On Tue, Jun 9, 2009 at 1:53 AM, Jeremy Smith<jer...@decompiler.org> wrote:
>   
>> I'm running SQLite in a thread. If the user hits 'Cancel' in my GUI, I
>> want (notified by setting a flag variable) SQLite to stop the query and
>> shut down gracefully. I tried closing the thread with TerminateThread,
>> but the database cannot be queried after this, and the entire program
>> has to be aborted and reloaded because (I assume) of some unclosed SQL
>> handles.
>>
>> So is there a way to terminate a query gracefully?
>>     
>
> http://www.sqlite.org/c3ref/interrupt.html
>
>
> Regards,
> ~Nuno Lucas
Yes, that works fine! Thanks so much! :-)

All the best,

Jeremy.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to