mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Merge pull request #438 from matrix-org/markjh/fix_search_sql
Fix typo in sql for full text search on sqlite3
This commit is contained in:
commit
fde412b240
@ -189,7 +189,7 @@ class SearchStore(BackgroundUpdateStore):
|
|||||||
|
|
||||||
count_sql = (
|
count_sql = (
|
||||||
"SELECT room_id, count(*) as count FROM event_search"
|
"SELECT room_id, count(*) as count FROM event_search"
|
||||||
" WHERE value MATCH ? AND "
|
" WHERE value MATCH ?"
|
||||||
)
|
)
|
||||||
count_args = [search_term] + count_args
|
count_args = [search_term] + count_args
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user