about summary refs log tree commit homepage
path: root/t/search.t
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-08-01 08:12:26 +0000
committerEric Wong <e@yhbt.net>2020-08-02 08:26:19 +0000
commitfb4bfa102bfa702f13948ac689e54bac9d0084e0 (patch)
tree941b96a3d89df231232adf4ceec65a739ed890b4 /t/search.t
parent84e006fdb9fb72010d6a0dac15287ff43bd1772c (diff)
downloadpublic-inbox-fb4bfa102bfa702f13948ac689e54bac9d0084e0.tar.gz
We can rely on the newer mids() sub directly and use faster
numeric comparisons for Msgmap unindexing in v1.
Diffstat (limited to 't/search.t')
-rw-r--r--t/search.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/search.t b/t/search.t
index a75d944c..299f57c8 100644
--- a/t/search.t
+++ b/t/search.t
@@ -420,6 +420,7 @@ $ibx->with_umask(sub {
                 $art = $ro->{over_ro}->next_by_mid($mid, \$id, \$prev);
                 ok($art, 'article exists in OVER DB');
         }
+        $rw->_msgmap_init;
         $rw->unindex_eml($oid, $amsg);
         $rw->commit_txn_lazy;
         SKIP: {