mirror of
https://github.com/element-hq/synapse
synced 2024-09-29 14:42:42 +00:00
We're actually using sub-query syntax so we can ORDER each query
This commit is contained in:
parent
a8056ae67d
commit
3f317a9929
1 changed files with 0 additions and 2 deletions
|
@ -931,8 +931,6 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore):
|
|||
# ordering of the operand queries but there is no actual gurantee that it
|
||||
# has this behavior in all scenarios so we need the extra `ORDER BY` at the
|
||||
# bottom.
|
||||
#
|
||||
# We're using the subquery syntax for SQLite compatibility.
|
||||
sql = """
|
||||
SELECT * FROM (
|
||||
SELECT instance_name, stream_ordering, topological_ordering, event_id
|
||||
|
|
Loading…
Reference in a new issue