On 17 Mar 2015, at 7:39pm, Bart Smissaert <bart.smissaert at gmail.com> wrote:
> The result is fine and no duplicates are inserted, only thing wrong is the > result the one from last sqlite3_finalize. > Note that I don't check the return values in the loop, maybe I should, but > it saves some time. The result you get from _finalize() is only guaranteed to tell you about problems with _finalize(). To find out if _step() worked you have to check the result from each call to _step(). Simon.