diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-30 15:23:55 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-30 15:23:55 +0100 |
commit | d39c09c28408b28612484ba1984b74830d12319e (patch) | |
tree | 708c7afac2e86cc90ff6c3285b8ac5f65addf9d0 | |
parent | Whoops, took out a line there... (diff) | |
download | synapse-d39c09c28408b28612484ba1984b74830d12319e.tar.xz |
Ambiguous `room_id`
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r-- | synapse/storage/stats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py index 3bcfcaaeae..ac08836d93 100644 --- a/synapse/storage/stats.py +++ b/synapse/storage/stats.py @@ -1080,7 +1080,7 @@ class StatsStore(StateDeltasStore): SELECT COUNT(*) AS num_events, SUM(%s) AS num_bytes FROM events JOIN event_json USING (event_id) - WHERE room_id = ? + WHERE events.room_id = ? AND ? <= stream_ordering AND stream_ordering <= ? """ % ( |