diff options
author | Matthew Hodgson <matthew@matrix.org> | 2015-11-08 16:04:37 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2015-11-08 16:04:37 +0000 |
commit | dd40fb68e455b9a736f1871a19119eb0391cd0d5 (patch) | |
tree | 7eb076ef77c6fae11f549ac7a6f18971f27d9dac /synapse | |
parent | add a key existence check to tags_by_room to avoid /events 500'ing when testi... (diff) | |
download | synapse-dd40fb68e455b9a736f1871a19119eb0391cd0d5.tar.xz |
fix comedy important missing comma breaking recent-ordered FTS on sqlite
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 3cea2011fa..91a96d2a83 100644 --- a/synapse/storage/search.py +++ b/synapse/storage/search.py @@ -154,7 +154,7 @@ class SearchStore(SQLBaseStore): ) elif isinstance(self.database_engine, Sqlite3Engine): sql = ( - "SELECT rank(matchinfo(event_search)) as rank, room_id, event_id" + "SELECT rank(matchinfo(event_search)) as rank, room_id, event_id," " topological_ordering, stream_ordering" " FROM event_search" " NATURAL JOIN events" |