On 2/15/17, Igor Korot <[email protected]> wrote: > > Well, my question here is a bit different - if sqlite3_step () returns an > error > should the statement be released? >
You still need to invoke either sqlite3_finalize() or sqlite3_reset() on the statement. Use sqlite3_finalize() if you will never use that statement again, and sqlite3_reset() if you want to reuse it. Just be cause it got an error on one go doesn' t mean that it cannot be reused, if that is what you are asking. -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

