On 23 Aug 2015, at 11:31am, Jeff M <jmat at mac.com> wrote: > Any ideas on how to debug this?
Are you checking the values returned by sqlite3_prepare, sqlite3_bind, and sqlite3_step, to make sure they return SQLITE_OK ? I'm not quite sure what you mean by 'done once' -- whether it's once for the whole application or once per loop -- but I think either the sqlite3_prepare_v2() should be moved outside the load logic, or you should be using _finalize() instead of _reset(). But I don't think this could cause the problem you reported. Simon.