Ok, thanks. I'm pretty new to this kind of thing so I appreciate the
feedback.

joe

John Stanton wrote:
Try calling sqlite3_finalize on the prepared statements before sqlite3_close.

Joe Halpin wrote:

One of the return values from sqlite3_close() is SQLITE_BUSY. The examples I've seen so far all exit after calling this function and
don't check the return value. I need to be able to close and reopen
the database without exiting, but I'm not sure what to do if I get SQLITE_BUSY as the return from sqlite3_close().

Should I wait and try again until I get SQLITE_OK or SQLITE_ERROR?

Thanks

Joe



Reply via email to