Fix typo in sql for full text search on sqlite3

This commit is contained in:
Mark Haines 2015-12-14 11:38:11 +00:00
parent deeebbfcb7
commit bfc52a2342

View file

@ -189,7 +189,7 @@ class SearchStore(BackgroundUpdateStore):
count_sql = (
"SELECT room_id, count(*) as count FROM event_search"
" WHERE value MATCH ? AND "
" WHERE value MATCH ?"
)
count_args = [search_term] + count_args
else: