"Kai Wu" <[EMAIL PROTECTED]> wrote: > Hello, > > sqltie3_stmt *stmt; > sqlite3_prepare(...stmt...); > sqlite3_reset(stmt); > sqlite3_reset(stmt); // Is this OK? >
This is OK. A statement is created by sqlite3_prepare and is destroyed by sqlite3_finalize. sqlite3_reset can be called as many times as you like in between. -- D. Richard Hipp <[EMAIL PROTECTED]>