On 2 Feb 2017, at 9:28am, x <tam118...@hotmail.com> wrote: > The reused stmt was the only possible culprit so I’m wondering if it’s down > to the changed sql?
You can find out. Both _reset() and _finalize() return a result code just like _prepare(). Do the same kind of exception checking for them, just in case they’re return an error. It won’t tell you definitely what’s wrong but it might help. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users