diff options
author | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-30 15:23:56 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <olivier@librepush.net> | 2019-08-30 15:23:56 +0100 |
commit | eba432e54154c8a5a0eaab940449f2d02de92dda (patch) | |
tree | 130adf0fcf9d876aed21d0dd512e091c38e46c90 /synapse/storage/stats.py | |
parent | Merge branch 'rei/rss_inc7' into rei/rss_inc8 (diff) | |
parent | Ambiguous `room_id` (diff) | |
download | synapse-eba432e54154c8a5a0eaab940449f2d02de92dda.tar.xz |
Merge branch 'rei/rss_inc7' into rei/rss_inc8
Diffstat (limited to 'synapse/storage/stats.py')
-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 5ce44e5646..0eb593e53b 100644 --- a/synapse/storage/stats.py +++ b/synapse/storage/stats.py @@ -1106,7 +1106,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 <= ? """ % ( |