Igor Korot wrote: > if( ( result = sqlite3_prepare_v2( handle, query, -1 &stmt, 0 ) ) != > SQLITE_OK ) > // Should there be call to sqlite3_finalize. I.e. can I safely assume that > since it failed all memory is not being allocated
<http://www.sqlite.org/c3ref/prepare.html> says: | *ppStmt is left pointing to a compiled prepared statement that can be | executed using sqlite3_step(). If there is an error, *ppStmt is set to | NULL. Regards, Clemens _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users