On 29/06/16 19:13, Scott Robison wrote:
> Given the nature of VFS, it is trivial* for anyone to create a module to
> provide this very functionality. So you can write it yourself!
> 
> *Not really trivial, but probably not horribly difficult either.

VFS is one way you can't reasonably do it.  The VFS is handed full size
pages, so the checksums would have to be stored somewhere other than the
page.  That leads to a *very* complex implementation.

The encryption extension does something like defining SQLITE_HAS_CODEC
and then gets to use a small amount of each page to store information
about the encryption of that page.  Checksums would fit very well into a
similar implementation.

Roger


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to