From 5b45503114402f4cd2c473cc7471006a34a2fca7 Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Tue, 28 Nov 2023 06:52:51 +0000 Subject: [PATCH] HPCC-30931 Avoid recording spurious wild seeks Avoid incrementing wild seek if at end of filter (e.g. if single SingleFieldFilter filter). Signed-off-by: Jake Smith --- system/jhtree/jhtree.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/jhtree/jhtree.cpp b/system/jhtree/jhtree.cpp index 22daf58860a..e2c741c9828 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