about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiStore.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-08-31 11:21:26 +0000
committerEric Wong <e@80x24.org>2021-08-31 11:29:15 +0000
commit01357ab43ba32d9e0967226ed03106a4f2941f23 (patch)
tree622b28bf105783fcff031a9b53c8594beba23b53 /lib/PublicInbox/LeiStore.pm
parentb184aaec8b65a1e50806d445878f879988403c96 (diff)
downloadpublic-inbox-01357ab43ba32d9e0967226ed03106a4f2941f23.tar.gz
Some of these errors were inadvertantly lost due to delayed
error reporting in the past.
Diffstat (limited to 'lib/PublicInbox/LeiStore.pm')
-rw-r--r--lib/PublicInbox/LeiStore.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/LeiStore.pm b/lib/PublicInbox/LeiStore.pm
index 0652137e..ab39043e 100644
--- a/lib/PublicInbox/LeiStore.pm
+++ b/lib/PublicInbox/LeiStore.pm
@@ -243,8 +243,8 @@ sub remove_docids ($;@) {
         my $eidx = eidx_init($self);
         for my $docid (@docids) {
                 $eidx->idx_shard($docid)->ipc_do('xdb_remove', $docid);
-                $self->{oidx}->delete_by_num($docid);
-                $self->{oidx}->{dbh}->do(<<EOF, undef, $docid);
+                $eidx->{oidx}->delete_by_num($docid);
+                $eidx->{oidx}->{dbh}->do(<<EOF, undef, $docid);
 DELETE FROM xref3 WHERE docid = ?
 EOF
         }