diff options
author | Erik Johnston <erik@matrix.org> | 2018-05-31 19:17:17 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-05-31 19:17:17 +0100 |
commit | c5da3f697e898e8b82e19956421a55a13acb7da7 (patch) | |
tree | b23de5d49fbf79b13d1e3b0aeb80cab323e0990a | |
parent | fixup (diff) | |
download | synapse-c5da3f697e898e8b82e19956421a55a13acb7da7.tar.xz |
fixup
-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 = ? |