> If you have a contrary example, please send me a > copy of the database file via private email.
I take it from your reply that the integrity_check indeed should reveal problems in the database file which cause the "disk image malformed" return code so my logic is OK as it is. Unfortunately, the database is at a customers site and has about 4 or 5 GB in size. I doubt I can get this DB to you somehow. I asked the user to send me the log files my application automatically writes. Now the problem looks slightly different. The diagnosis with the "OK" result was on 11/7 but the error happened on 11/8. So there most likely where a lot of database activity in-between, although no disk problems or other issues. If integrity_check would have revealed problem but did not, the database seems to have become corrupted between these two events. I'll ask him to run the diagnosis again and check if the integrity_check reports something. I test the result for the "OK" result and is something different is returned, I write the first 100 rows into a log file. Maybe we see something there. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users