On 18 Nov 2009, at 8:31pm, Matt wrote: > Given a sqlite database file I would like to create two lists: one of bytes > which are in use and one of bytes which are "free". > What would be the most efficient way to do this? > > I have taken a look over the file format documentation but can't see a clear > way to achieve this.
You have to implement a routine that understands the file format and walks through the data structure. Or you could do it any number of silly ways, like change random bytes then see whether the file content has changed or the PRAGMA reports corruption. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users