Re: [sqlite] Terminating a query

2009-06-08 Thread Jeremy Smith
Nuno Lucas wrote: > On Tue, Jun 9, 2009 at 1:53 AM, Jeremy Smith 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,

Re: [sqlite] Terminating a query

2009-06-08 Thread Nuno Lucas
On Tue, Jun 9, 2009 at 1:53 AM, Jeremy Smith 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 b

[sqlite] Terminating a query

2009-06-08 Thread Jeremy Smith
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 a