On Thu, Oct 24, 2013 at 9:06 AM, Mike Clagett <mike.clag...@mathworks.com>wrote:

> Hi --
>
> I finally got a chance to put in the profiling and trace callbacks.  Very
> interesting stuff, which I am attempting to analyze.   One of the things I
> am seeing is that none of the SELECT statements that show up in the trace
> actually are being captured by the Profiling callback.
>

The profile callback is invoked during the sqlite3_step() call that returns
SQLITE_DONE.  Perhaps your queries are returning multiple rows of result,
but you are only looking at some prefix of those rows before you invoke
sqlite3_reset() or sqlite3_finalize()?  In that case, no sqlite3_step()
call would ever return SQLITE_DONE and so the profile callback would never
be invoked.


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

Reply via email to