On 11/2/11 10:01 PM, "Dan Kennedy" wrote:
>On 11/03/2011 01:11 AM, Duquette, William H (318K) wrote:
>> I'm pretty sure I know the answer to this.
>>
>> Sqlite3 allows you to define a "progress" callback, which will be
>>called every so many byte-code instructions during
On 11/03/2011 01:11 AM, Duquette, William H (318K) wrote:
I'm pretty sure I know the answer to this.
Sqlite3 allows you to define a "progress" callback, which will be called every
so many byte-code instructions during a long-running query, so that you can update a
progress bar or like that.
> I'm assuming that querying the same database using the same handle during a
> "progress" callback would be a *bad* idea. Am I mistaken?
That would deadlock on handle's internal mutex or corrupt the handle
if your SQLite is compiled without multi-threading support.
Pavel
On Wed, Nov 2,
3 matches
Mail list logo