[btree] update the root_ after an insert
!!!
This commit is contained in:
parent
a8585f1d68
commit
ec99e6fd93
@ -486,6 +486,8 @@ namespace persistent_data {
|
|||||||
else
|
else
|
||||||
// FIXME: check if we're overwriting with the same value.
|
// FIXME: check if we're overwriting with the same value.
|
||||||
n.set_value(index, value);
|
n.set_value(index, value);
|
||||||
|
|
||||||
|
root_ = spine.get_root();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <unsigned Levels, typename ValueTraits>
|
template <unsigned Levels, typename ValueTraits>
|
||||||
|
Loading…
Reference in New Issue
Block a user