libsql / sqld

LibSQL with extended capabilities like HTTP protocol, replication, and more.
https://libsql.org
903 stars 38 forks source link

do `PRAGMA integrity_check` after db restore #751

Closed avinassh closed 1 year ago

avinassh commented 1 year ago

This is similar to verify command (#744), after the DB is restored it will do an integrity check. Unlike verify, if the pragma check fails, this keeps the db file around so that we can inspect/analyse it

MarinPostma commented 1 year ago

One small thing, and also you need to run rust-fmt :)