On Thu, 6 Oct 2005, Will Leshner wrote:

>
>On Oct 6, 2005, at 10:57 AM, [EMAIL PROTECTED] wrote:
>
>> Figure 10 to 20 microseconds per opcode.  I'd say around 100.
>>
>
>Thanks. That makes sense.
>
>> Please note that the counter resets with each call to sqlite3_step().
>
>That is very good to know. Does that mean that if I set the count too
>high, the progress handler might never get called?
>

You can call the progress handler yourself after sqlite3_step returns, as
for selects, you'll return for each row.

I think it's more aimed at big updates, index building, the sort of thing
that does not return results and takes a long time.

Christian

-- 
    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
     X                           - AGAINST MS ATTACHMENTS
    / \

Reply via email to