From 8fa3cc37f93cc90d8bf34dadbdf207eb8e2fdebd Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 15 Aug 2014 16:11:25 +0100 Subject: [PATCH] Comment. --- synapse/storage/stream.py | 1 + 1 file changed, 1 insertion(+) diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index bb56f0763d..7c2c45e0ff 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -71,6 +71,7 @@ class StreamStore(SQLBaseStore): "invites": invites_sql, } + # Constraints and ordering depend on direction. if from_key < to_key: sql += ( "AND e.ordering > ? AND e.ordering < ? "