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