Commit fc4b24c5 authored by Philipp Götze's avatar Philipp Götze
Browse files

🐛 Fixed bug occuring during recovery

parent 84a51492
......@@ -1256,7 +1256,7 @@ class wHBPTree {
return false;
}
} else {
hassplit = recoveryInsertInBranchNode(node->children[nSlotArray[0]].branch, curr_depth- 1, leaf, &childSplitInfo);
hassplit = recoveryInsertInBranchNode(node->children[(nSlotArray[0]==0)?0:N].branch, curr_depth- 1, leaf, &childSplitInfo);
}
//Check for split
if (hassplit) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment