fix old bugs and ready to write snapshot
This commit is contained in:
@ -823,7 +823,7 @@ class BPlusTreeIndexer {
|
||||
if (pos.is_end) return false;
|
||||
if (key_cmp(key, pos.path.back().first.template As<PageType>()->data.p_data[pos.path.back().second].first))
|
||||
return false;
|
||||
if (!value_removed) {
|
||||
if (value_removed != nullptr) {
|
||||
*value_removed = pos.path.back().first.template As<PageType>()->data.p_data[pos.path.back().second].second;
|
||||
}
|
||||
RemoveEntryAt(pos);
|
||||
|
Reference in New Issue
Block a user