Remove spurious AS clause

This commit is contained in:
Erik Johnston 2016-09-21 16:28:47 +01:00
parent dc78db8c56
commit dc692556d6

View File

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