diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-12-14 11:38:11 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-12-14 11:38:11 +0000 |
commit | bfc52a2342999a7887dcc5ba653b67454c0fc2c8 (patch) | |
tree | 6e2dd69376b93dd2bfe64451582644450b6f77e3 /synapse | |
parent | Merge branch 'release-v0.12.0' into develop (diff) | |
download | synapse-bfc52a2342999a7887dcc5ba653b67454c0fc2c8.tar.xz |
Fix typo in sql for full text search on sqlite3
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/search.py b/synapse/storage/search.py index efd87d99bb..00f89ff02f 100644 --- a/synapse/storage/search.py +++ b/synapse/storage/search.py @@ -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: |