WIP improvement: much better state storage

This commit is contained in:
Timo Kösters 2021-08-01 15:14:54 +02:00
parent 9410d3ef9c
commit 41dd620d74
No known key found for this signature in database
GPG key ID: 356E705610F626D5
3 changed files with 345 additions and 10 deletions

View file

@ -223,10 +223,7 @@ impl Tree for SqliteTable {
let statement = Box::leak(Box::new(
guard
.prepare(&format!(
"SELECT key, value FROM {} ORDER BY key ASC",
&self.name
))
.prepare(&format!("SELECT key, value FROM {} ORDER BY key ASC", &self.name))
.unwrap(),
));