On 4 Jun 2018, at 8:09pm, Igor Korot <ikoro...@gmail.com> wrote: > The second cycle' sqlite3_step() returns 1, but immediately calling > sqlite3_errcode() returns 0.
I don't like that. You should almost never see a result code of 1. It's SQLite telling you "Something went wrong but I don't know what.". It a bad sign. And, as you point out, if you do see 1 then if you immediately do sqlite3_errcode() you should get something other than 1 from it. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users