On Thu, May 13, 2010 at 12:07:50AM -0700, liubin liu scratched on the wall: > > I see many SQLITE_BUSY returned from sqlite3_finalize(). Are they memory leak > because it don't succeed in finalizing the sqlite3_stmt pointer?
It sounds like you're using using sqlite3_prepare() rather than sqlite3_prepare_v2(). In that case, this is normal. The error is left-over from sqlite3_step(), which likely returned an SQLITE_ERROR. See the first three rows of this table: http://using-sqlite.labs.oreilly.com/ch07.html#ch07_id2345085 -j -- Jay A. Kreibich < J A Y @ K R E I B I.C H > "Our opponent is an alien starship packed with atomic bombs. We have a protractor." "I'll go home and see if I can scrounge up a ruler and a piece of string." --from Anathem by Neal Stephenson _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users