update rusqlite for param count assert fix

This commit is contained in:
Damien Elmes 2020-04-07 08:07:40 +10:00
parent e247ac3c47
commit caa513899d
2 changed files with 5 additions and 5 deletions

View file

@ -46,13 +46,13 @@ futures = "0.3.4"
# pinned until rusqlite 0.22 comes out # pinned until rusqlite 0.22 comes out
[target.'cfg(target_vendor="apple")'.dependencies.rusqlite] [target.'cfg(target_vendor="apple")'.dependencies.rusqlite]
git = "https://github.com/ankitects/rusqlite.git" git = "https://github.com/jgallagher/rusqlite.git"
branch="nulsafe-text" rev = "0394e114d05552f1d8f2771f31a204dc18b3cde3"
features = ["trace", "functions", "collation"] features = ["trace", "functions", "collation"]
[target.'cfg(not(target_vendor="apple"))'.dependencies.rusqlite] [target.'cfg(not(target_vendor="apple"))'.dependencies.rusqlite]
git = "https://github.com/ankitects/rusqlite.git" git = "https://github.com/jgallagher/rusqlite.git"
branch="nulsafe-text" rev = "0394e114d05552f1d8f2771f31a204dc18b3cde3"
features = ["trace", "functions", "collation", "bundled"] features = ["trace", "functions", "collation", "bundled"]
[target.'cfg(linux)'.dependencies] [target.'cfg(linux)'.dependencies]

View file

@ -109,7 +109,7 @@ pub(super) fn set_note(db: &Connection, note: &mut Note, note_type: &NoteType) -
note.mtime, note.mtime,
note.usn, note.usn,
note.fields().join("\x1f"), note.fields().join("\x1f"),
sort_field, sort_field.as_ref(),
csum, csum,
note.id, note.id,
])?; ])?;