-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

manohar s wrote:
> 1) Am I doing something wrong here? [I couldnt find even a single sample
> source or snippet regarding this :( ]

sqlite3_profile is experimental hence the light documentation.  The
profile callback is only executed once the query has completed (ie
SQLITE_DONE has been returned from step).

Your code only calls step once.  If a row was returned (ie step returned
SQLITE_ROW) then the query has not completed.  You need to call step again.

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkl42uMACgkQmOOfHg372QQTsgCgotXY12GL7MXGO9bnJxaqhLpQ
RssAnjNfgIiA1pVd8WwCt2U+PdgPeTuj
=Gdhm
-----END PGP SIGNATURE-----
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to