This commit is contained in:
Erik Johnston 2018-05-31 19:23:04 +01:00
parent 397e4c1d3d
commit a09d5e45b0
1 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ class ChunkDBOrderedListStore(OrderedListStore):
row = self.txn.fetchone() row = self.txn.fetchone()
if row: if row:
self._insert_at_start(node_id, row[0]) new_order = self._insert_at_start(node_id, row[0])
else: else:
new_order = self._insert_first(node_id) new_order = self._insert_first(node_id)
@ -328,7 +328,7 @@ class ChunkDBOrderedListStore(OrderedListStore):
"""Implements OrderedListStore""" """Implements OrderedListStore"""
next_chunk_id = SQLBaseStore._simple_select_one_onecol_txn( next_chunk_id = SQLBaseStore._simple_select_one_onecol_txn(
txn, self.txn,
table="chunk_linearized", table="chunk_linearized",
keyvalues={ keyvalues={
"chunk_id": node_id, "chunk_id": node_id,