Merge branch 'develop' into markjh/SYN-513

Conflicts:
	synapse/storage/tags.py
This commit is contained in:
Mark Haines 2015-11-09 15:01:59 +00:00
commit bbe10e8be7

View File

@ -154,7 +154,7 @@ class SearchStore(SQLBaseStore):
) )
elif isinstance(self.database_engine, Sqlite3Engine): elif isinstance(self.database_engine, Sqlite3Engine):
sql = ( 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" " topological_ordering, stream_ordering"
" FROM event_search" " FROM event_search"
" NATURAL JOIN events" " NATURAL JOIN events"