Clemens, On Wed, Apr 24, 2013 at 12:21 PM, Clemens Ladisch <clem...@ladisch.de>wrote:
> Igor Korot wrote: > >>>> On Wed, Apr 24, 2013 at 12:50 AM, Clemens Ladisch <clem...@ladisch.de > >>>> wrote: > >>>>> Igor Korot wrote: > >>>>>> ... > >>>>>> else > >>>>>> sqlite3_step( stmt ); > >>>>> > >>>>> You forgot to check for errors. > >>>>> I guess the code that executes the COMMIT has the same bug. > > > > sqlite3_step() returns 101 which means SQLITE_DONE and sqlite3_finalize() > > return 0 which is SQLITE_OK. > > And the COMMIT? > Same values. sqlite3_step() - 101, sqlite3_finalize() - 0. Thank you. > > > Regards, > Clemens > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users