diff options
-rw-r--r-- | synapse/storage/chunk_ordered_table.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/chunk_ordered_table.py b/synapse/storage/chunk_ordered_table.py index 15a7edbfce..909101de6b 100644 --- a/synapse/storage/chunk_ordered_table.py +++ b/synapse/storage/chunk_ordered_table.py @@ -339,7 +339,7 @@ class ChunkDBOrderedListStore(OrderedListStore): self.txn.execute(sql, (node_id, node_id,)) sql = """ - UPDATE chunk_linearized_first SET next_chunk_id = ( + UPDATE chunk_linearized_first SET chunk_id = ( SELECT next_chunk_id FROM chunk_linearized WHERE chunk_id = ? |