This commit is contained in:
Mikayla Maki
2022-12-03 16:05:25 -08:00
parent 19aac6a57f
commit d492cbced9
3 changed files with 78 additions and 229 deletions
-9
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();
}
}