about summary refs log tree commit homepage
path: root/t
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-12 11:46:59 +0000
committerEric Wong <e@80x24.org>2021-10-12 21:46:33 +0000
commit4bbafbc4bc8869e3f0fb35fdde727b2334fd6b46 (patch)
tree92a33230c4094b344b50941903aca975e99261f9 /t
parent176cd51f9aa81b741deb00cd8096428eb6712b9e (diff)
downloadpublic-inbox-4bbafbc4bc8869e3f0fb35fdde727b2334fd6b46.tar.gz
Xapian::QueryParser is attached to the Xapian::Database,
so holding onto the QueryParser was preventing us from
releasing DB handles if a query was performed.
Diffstat (limited to 't')
-rw-r--r--t/extsearch.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/extsearch.t b/t/extsearch.t
index 1b6235ba..8190de17 100644
--- a/t/extsearch.t
+++ b/t/extsearch.t
@@ -176,7 +176,7 @@ if ('inbox edited') {
         is($mset->size, 1, 'new message found');
         $mset = $es->mset('b:"test message"');
         is($mset->size, 1, 'old message found');
-        delete @$es{qw(git over xdb)}; # fork preparation
+        delete @$es{qw(git over xdb qp)}; # fork preparation
 
         my $pi_cfg = PublicInbox::Config->new;
         $pi_cfg->fill_all;