summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2015-12-14 11:43:49 +0000
committerMark Haines <mjark@negativecurvature.net>2015-12-14 11:43:49 +0000
commitfde412b2404947001deec2dff723975e8f32adb6 (patch)
tree6e2dd69376b93dd2bfe64451582644450b6f77e3 /synapse/storage
parentMerge branch 'release-v0.12.0' into develop (diff)
parentFix typo in sql for full text search on sqlite3 (diff)
downloadsynapse-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')
-rw-r--r--synapse/storage/search.py2
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: