Checksum for a SQLite database?
问题 I'd like to be able to tell whether a SQLite database file has been updated in any way. How would I go about implementing that? The first solution I think of is comparing checksums, but I don't really have any experience working with checksums. 回答1: According to http://www.sqlite.org/fileformat.html SQLite3 maintains a file change counter in byte 24..27 of the database file. It is independent of the file change time which, for example, can change after a binary restore or rollback while