summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-13 15:08:32 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-13 15:08:32 +0100
commit20ec9698ac62affa7fc79f894cda9e0be6f18d63 (patch)
tree7019a689eab7e400c36baa0cb439a1c0ec8bddf6
parentAdd SQLite support by working around missing syntax (diff)
downloadsynapse-20ec9698ac62affa7fc79f894cda9e0be6f18d63.tar.xz
Fix issue with not selecting a needed column
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
-rw-r--r--synapse/storage/stats.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/stats.py b/synapse/storage/stats.py
index b65eef72bd..b1df526b54 100644
--- a/synapse/storage/stats.py
+++ b/synapse/storage/stats.py
@@ -808,7 +808,8 @@ class StatsStore(StateDeltasStore):
                 txn,
                 table + "_current",
                 {id_col: stats_id},
-                retcols=selected_columns + ["start_ts", "end_ts"],
+                retcols=selected_columns
+                + ["start_ts", "end_ts", "completed_delta_stream_id"],
                 allow_none=True,
             )