From c5da3f697e898e8b82e19956421a55a13acb7da7 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 31 May 2018 19:17:17 +0100 Subject: fixup --- synapse/storage/chunk_ordered_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ? -- cgit 1.4.1