> D. Richard Hipp wrote: > No errors are returned. SQLite never notices that the database file has > been renamed.
I did a simple experiment and got an error from sqlite3_step() after renaming the file. This is what I did: After the call to sqlite3_open(), I halt/sleep my program for 10 seconds to give me ample time to rename the file. I rename the file. The subsequent sqlite3_prepare_v2() works without errors. However, the sqlite3_step() *does* give an error: Error code 10, "disk I/O error". This does not happen if I do not rename the file. Am I missing something? _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users