diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-21 16:28:47 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-21 16:28:47 +0100 |
commit | dc692556d6b3e65eec133f5bfa5dbbcd7c3c1350 (patch) | |
tree | 5ddab40287e77b93bfa685f658012ba4719bdca9 | |
parent | Update correct table (diff) | |
download | synapse-dc692556d6b3e65eec133f5bfa5dbbcd7c3c1350.tar.xz |
Remove spurious AS clause
-rw-r--r-- | synapse/storage/event_federation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py index 7a02bf5e63..53feaa1960 100644 --- a/synapse/storage/event_federation.py +++ b/synapse/storage/event_federation.py @@ -399,7 +399,7 @@ class EventFederationStore(SQLBaseStore): DELETE FROM stream_ordering_to_exterm WHERE room_id IN ( - SELECT room_id AS stream_ordering + SELECT room_id FROM stream_ordering_to_exterm WHERE stream_ordering > ? ) AND stream_ordering < ? |