Skip to content

Commit e7355e5

Browse files
Bump to newer sqlite
1 parent 2b746f0 commit e7355e5

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ lazy_static = "1.0"
3030
mime = "0.3.1"
3131
minifier = { version = "0.0.20", features = ["html"] }
3232
r2d2 = "0.8.2"
33-
r2d2_sqlite = "0.19.0"
34-
rusqlite = { version = "0.26.0", features = ["chrono", "functions", "bundled"] }
33+
r2d2_sqlite = "0.20.0"
34+
rusqlite = { version = "0.27.0", features = ["chrono", "functions", "bundled"] }
3535
rand = "0.5"
3636
regex = "1.0"
3737
reqwest = { version = "0.11", features = ["blocking", "json"] }

src/results/db.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ impl<'a> DatabaseDB<'a> {
5454
// size anyway. In the future we might expand this to other tables, but
5555
// for now that wouldn't really add enough value to be worth it.
5656
self.db.execute(
57-
"delete from results where experiment in \
58-
(select name from experiments where status = 'completed') \
59-
limit 100",
57+
"delete from results where experiment in (select name from experiments where status = 'completed') limit 100",
6058
&[],
6159
)?;
6260
Ok(())

0 commit comments

Comments
 (0)