Will Leshner <[EMAIL PROTECTED]> wrote: > On Oct 6, 2005, at 10:57 AM, [EMAIL PROTECTED] wrote: > > > 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?
That depends on your SQL statements. Some queries can run a long time without returning from sqlite3_step(). The idea is that you should all your "update" routine before and after sqlite3_step() as well as from the progress callback. -- D. Richard Hipp <[EMAIL PROTECTED]>