On 24 Mar 2014, at 1:34pm, Tim Streater <t...@clothears.org.uk> wrote:
> My app does some periodic housekeeping, which includes occasional vacuuming > of some files. From the logs, I deduce that the OS completely lost this file > [1], which got recreated at the next housekeeping and then vacuumed, thus > producing an uncorrupt but useless file, as of course it didn't have any > tables. Strongly suspect broken hard disk (physically broken, and about to make loud noises soon) or corrupt disk format. After taking a backup, try running an operating system level format check using CHKDSK, SCANDISK, Disk Utility, or whatever that platform has. > I'm considering changing the app to use one or other of the flags > SQLITE_OPEN_READWRITE and SQLITE_OPEN_CREATE for when I expect the file to be > there or not, so the app gets immediate notification. Good. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users