On Wed, Apr 24, 2013 at 12:59 PM, Igor Korot <[email protected]> wrote:
> Clemens, > > On Wed, Apr 24, 2013 at 12:21 PM, Clemens Ladisch <[email protected]>wrote: > >> Igor Korot wrote: >> >>>> On Wed, Apr 24, 2013 at 12:50 AM, Clemens Ladisch < >> [email protected] >> >>>> 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. > Doing SELECT from command prompt console does not return any records. :( > > Thank you. > > >> >> >> Regards, >> Clemens >> _______________________________________________ >> sqlite-users mailing list >> [email protected] >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> > > _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

