This commit is contained in:
Mikayla Maki 2022-11-02 16:26:43 -07:00
parent 19aac6a57f
commit d492cbced9
3 changed files with 78 additions and 229 deletions

View file

@ -70,12 +70,3 @@ impl Db {
self.backup_main(&destination)
}
}
impl Drop for Db {
fn drop(&mut self) {
self.exec(indoc! {"
PRAGMA analysis_limit=500;
PRAGMA optimize"})
.ok();
}
}