fixu
This commit is contained in:
parent
397e4c1d3d
commit
a09d5e45b0
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue