On Mon, May 14, 2012 at 7:55 AM, Baruch Burstein <bmburst...@gmail.com>wrote:
> If sqlite3_prepare_v2 didn't return SQLITE_OK, do I need to call > sqlite3_finalize on the statement pointer? > No. If sqlite3_prepare_v2() returns anything other than SQLITE_OK then the statement pointer will be NULL. A call to sqlite3_finalize() in that case will always be a harmless no-op and can be omitted. > > > -- > Programming today is a race between software engineers striving to build > bigger and better idiot-proof programs, and the Universe trying to produce > bigger and better idiots. So far, the Universe is winning. - Rich Cook > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users