sqlite3_prepare_v2() is giving SQLITE_MISUSE error(error code 21) after running the application for several times. Once SQLITE_MISUSE is returned all sqlite queries are failing and they return the same error code. In our application, native layer opens the DB for writing(which include: sqlite3_prepare_v2, sqlite3_step, sqlite3_exec, sqlite3_reset, sqlite3_finalize ) and the above java layer open the DB for reading.
The SQLITE_MISUSE error is thrown from the native layer when we do sqlite3_prepare_v2 after exiting from the application and then re-entering... Actually, the same scenario was working for more than 15-20 times, but after that SQLITE_MISUSE comes and thereafter system crashes with a signal11 -- Regards, Sajna Nazeer.K _______________________________________________ sqlite-users mailing list [email protected] http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

