From 976d1881dc169228ed327cd52eba12d29bb9bf42 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Mon, 20 Feb 2006 14:42:33 +0000 Subject: [PATCH] Add an additional debug output to track $too_many_hits better --- lib/Packages/Search.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Packages/Search.pm b/lib/Packages/Search.pm index 9418f63..c0555e2 100644 --- a/lib/Packages/Search.pm +++ b/lib/Packages/Search.pm @@ -413,6 +413,7 @@ sub do_names_search { $postfixes->seq( $key, $prefixes, R_CURSOR ); while (index($key, $keyword) >= 0) { if ($prefixes =~ /^\001(\d+)/o) { + debug( "$key has too many hits", 2 ); $too_many_hits += $1; } else { foreach (split /\000/o, $prefixes) { -- 2.39.2