fix comedy important missing comma breaking recent-ordered FTS on sqlite

This commit is contained in:
Matthew Hodgson 2015-11-08 16:04:37 +00:00
parent 767c20a869
commit dd40fb68e4

View File

@ -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"