diff --git a/rslib/Cargo.toml b/rslib/Cargo.toml index 91c63ddfb..e13399303 100644 --- a/rslib/Cargo.toml +++ b/rslib/Cargo.toml @@ -47,12 +47,12 @@ futures = "0.3.4" # pinned until rusqlite 0.22 comes out [target.'cfg(target_vendor="apple")'.dependencies.rusqlite] git = "https://github.com/jgallagher/rusqlite.git" -rev = "0394e114d05552f1d8f2771f31a204dc18b3cde3" +rev = "76336369ed2ebb6086048f05de1775ff0e7d47c3" features = ["trace", "functions", "collation"] [target.'cfg(not(target_vendor="apple"))'.dependencies.rusqlite] git = "https://github.com/jgallagher/rusqlite.git" -rev = "0394e114d05552f1d8f2771f31a204dc18b3cde3" +rev = "76336369ed2ebb6086048f05de1775ff0e7d47c3" features = ["trace", "functions", "collation", "bundled"] [target.'cfg(linux)'.dependencies] diff --git a/rslib/src/notes.rs b/rslib/src/notes.rs index 98eee30e3..74f69200f 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.as_ref(), + sort_field, csum, note.id, ])?;