From caa513899d645827c055d061eb583485de76ca8f Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Tue, 7 Apr 2020 08:07:40 +1000 Subject: [PATCH] update rusqlite for param count assert fix --- rslib/Cargo.toml | 8 ++++---- rslib/src/notes.rs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rslib/Cargo.toml b/rslib/Cargo.toml index bdc3fcd35..91c63ddfb 100644 --- a/rslib/Cargo.toml +++ b/rslib/Cargo.toml @@ -46,13 +46,13 @@ futures = "0.3.4" # pinned until rusqlite 0.22 comes out [target.'cfg(target_vendor="apple")'.dependencies.rusqlite] -git = "https://github.com/ankitects/rusqlite.git" -branch="nulsafe-text" +git = "https://github.com/jgallagher/rusqlite.git" +rev = "0394e114d05552f1d8f2771f31a204dc18b3cde3" features = ["trace", "functions", "collation"] [target.'cfg(not(target_vendor="apple"))'.dependencies.rusqlite] -git = "https://github.com/ankitects/rusqlite.git" -branch="nulsafe-text" +git = "https://github.com/jgallagher/rusqlite.git" +rev = "0394e114d05552f1d8f2771f31a204dc18b3cde3" features = ["trace", "functions", "collation", "bundled"] [target.'cfg(linux)'.dependencies] diff --git a/rslib/src/notes.rs b/rslib/src/notes.rs index 74f69200f..98eee30e3 100644 --- a/rslib/src/notes.rs +++ b/rslib/src/notes.rs @@ -109,7 +109,7 @@ pub(super) fn set_note(db: &Connection, note: &mut Note, note_type: &NoteType) - note.mtime, note.usn, note.fields().join("\x1f"), - sort_field, + sort_field.as_ref(), csum, note.id, ])?;