Kai Wu <[EMAIL PROTECTED]> wrote:
Then, should sqlite3_finalize be called for a sqlite3_stmt pointer
before it
gets prepared for another sql statement?

This question is meaningless. sqlite3_prepare does not take an existing statement handle and modify it - it creates and returns a brand new one. If you store it in the same variable, the new handle overwrites the old handle, and you have a leak since you now can't finalize the old statement.

Igor Tandetnik

Reply via email to