Jerry Krinock <[EMAIL PROTECTED]> wrote:
> The Blob Example [1] contains code [2] in which, if sqlite3_prepare()
> fails, the subsequent call to sqlite3_finalize() is skipped.  Is this
> OK?

If sqlite3_prepare fails, you don't get a valid sqlite3_stmt handle, so 
there's nothing to call sqlite3_finalize on.
-- 
With best wishes,
    Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not 
necessarily a good idea. It is hard to be sure where they are going to 
land, and it could be dangerous sitting under them as they fly 
overhead. -- RFC 1925



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to