summary refs log tree commit diff
path: root/synapse/storage/stats.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/stats.py')
-rw-r--r--synapse/storage/stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py

index 1cb534f8a4..ba7c3d25e8 100644 --- a/synapse/storage/stats.py +++ b/synapse/storage/stats.py
@@ -1064,9 +1064,9 @@ class StatsStore(StateDeltasStore): WHERE ? %s stream_ordering AND stream_ordering %s ? GROUP BY room_id """ % ( + new_bytes_expression, low_comparator, high_comparator, - new_bytes_expression, ) txn.execute(sql, (low_pos, high_pos))