On 27/05/2009 3:03 AM, D. Richard Hipp wrote: > John - what were you doing when you discovered this? > > On May 26, 2009, at 10:57 AM, John Machin wrote: > >> According to the file format document >> (http://www.sqlite.org/fileformat.html): "[H30120] The 4 byte block >> starting at byte offset 44 of a well-formed database file, the schema >> layer file format, contains a big-endian integer value between 1 and >> 4, >> inclusive." >> >> However it is possible to end up with this being zero, e.g. by >> dropping >> all tables/etc and then doing a VACUUM:
Eyeballing the following output from my code: assert 1 <= self.schema_layer_file_format <= 4 AssertionError Cheers, John _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users