Update bpp_tree.c
bFindKey searched non leaf nodes argument MODE_FIRST, should be MODE_MATCH
@@ -1048,7 +1048,7 @@ bFindKey(
}
}
else {
- if (search(handle, buf, key, 0, &mkey, MODE_FIRST) < 0) {
+ if (search(handle, buf, key, 0, &mkey, MODE_MATCH) < 0) {
if ((rc = readDisk(handle, childLT(mkey), &buf)) != 0) {
return rc;
}
