diff options
author | Mark Haines <mjark@negativecurvature.net> | 2015-12-14 11:43:49 +0000 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2015-12-14 11:43:49 +0000 |
commit | fde412b2404947001deec2dff723975e8f32adb6 (patch) | |
tree | 6e2dd69376b93dd2bfe64451582644450b6f77e3 /synapse/storage/search.py | |
parent | Merge branch 'release-v0.12.0' into develop (diff) | |
parent | Fix typo in sql for full text search on sqlite3 (diff) | |
download | synapse-fde412b2404947001deec2dff723975e8f32adb6.tar.xz |
Merge pull request #438 from matrix-org/markjh/fix_search_sql
Fix typo in sql for full text search on sqlite3
Diffstat (limited to 'synapse/storage/search.py')
-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: |