diff --git a/system/jhtree/jhtree.cpp b/system/jhtree/jhtree.cpp index 86c358c1958..66ee27999d2 100644 --- a/system/jhtree/jhtree.cpp +++ b/system/jhtree/jhtree.cpp @@ -1983,6 +1983,8 @@ bool CKeyCursor::_lookup(bool exact, unsigned lastSeg, bool unfiltered, KeyStats ret = true; break; } + if (eof) + break; lwildseeks++; } else