SQLite Forum

sqlite3_exec: the 3rd argument
Login
Is there an sqlite3 API that the callback function should invoke before returning 0?

Irrespective of the number of columns in my query, I am getting 

>Attempted to read or write protected memory.

after some records i.e. sqlite3_exec is failing with that error <b>before</b> reaching the last record that my query returns.