On 14 Aug 2010, at 3:34am, Colin Wetherbee wrote: > The error message appears every time I've tried to run VACUUM, but I'm able to > continue executing queries in the same session afterward, and they always > succeed. Running VACUUM is the only time I've seen this error message. > > Why might this happen, and is there any way to narrow the problem, if any, > down a bit? I'm a bit worried that something might be breaking under the > hood and that it will rear its head later on in the form of something > catastrophic and horrible. :)
Take your database file, pre-VACUUM, and use the command-line tool to .dump it, and .read the dump back in. If you get the same error message on the resulting copy, you've definitely found a bug in SQLite. I don't know where the bug is most likely to lie, but knowing the result of this will definitely establish there's a bug somewhere, and that the 'database disk image is malformed' message is misguiding. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users