Skip to content
Snippets Groups Projects
Commit 59e94719 authored by florian.burgener's avatar florian.burgener
Browse files

Typo

parent f4f00c19
No related branches found
No related tags found
No related merge requests found
...@@ -605,7 +605,7 @@ static bool _BPTree_delete(BPTreeNode *parent, BPTreeNode *root, uint64_t key) { ...@@ -605,7 +605,7 @@ static bool _BPTree_delete(BPTreeNode *parent, BPTreeNode *root, uint64_t key) {
int index; int index;
bool is_found = IntegerArray_binary_search(root->keys, key, &index); bool is_found = IntegerArray_binary_search(root->keys, key, &index);
if (root->is_leaf && !is_found) { if (root->is_leaf && !is_found) {
// The key cannot be inserted because it doesn't exists. // The key cannot be deleted because it doesn't exists.
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment