[btree] fix bug in earlier patch. inc_children was always begin called.
This commit is contained in:
parent
16c9efc85c
commit
e89d81e318
@ -694,7 +694,8 @@ namespace persistent_data {
|
||||
|
||||
for (;;) {
|
||||
inc = spine.step(block);
|
||||
inc_children<ValueTraits>(spine, leaf_rc);
|
||||
if (inc)
|
||||
inc_children<ValueTraits>(spine, leaf_rc);
|
||||
|
||||
// patch up the parent to point to the new shadow
|
||||
if (spine.has_parent()) {
|
||||
|
Loading…
Reference in New Issue
Block a user