Fix search_cards_of_notes_into_table()

This commit is contained in:
RumovZ 2022-04-08 19:15:20 +02:00
parent d6134748f2
commit 44d727a693

View file

@ -469,8 +469,8 @@ impl super::SqliteStorage {
self.db
.prepare(concat!(
"INSERT INTO search_cids",
" (SELECT id FROM cards WHERE nid IN",
" (SELECT nid FROM search_nids))",
" SELECT id FROM cards WHERE nid IN",
" (SELECT nid FROM search_nids)",
))?
.execute([])
.map_err(Into::into)