about summary refs log tree commit homepage
path: root/lib/PublicInbox/OverIdx.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-20 19:04:04 +0900
committerEric Wong <e@80x24.org>2021-03-21 09:45:47 +0000
commitb6829bbfd86f5d22a8ffb80fd7bfe59299fe6b55 (patch)
tree97a6e0a9bb519c24fdbef52776312861990af9b5 /lib/PublicInbox/OverIdx.pm
parent7d2e572aca7297ea2015d2b6e7c71b672521ec82 (diff)
downloadpublic-inbox-b6829bbfd86f5d22a8ffb80fd7bfe59299fe6b55.tar.gz
"lei q" now preserves changes per-message keywords across
invocations when it's --output (Maildir or mbox) is reused
(with or without --augment).

In the future, these changes will be monitored via inotify,
EVFILT_VNODE or IMAP IDLE, too.

Unfortunately, this currently prevents "lei import" from ever
importing a message that's in an external.  That will be fixed
in a future change.
Diffstat (limited to 'lib/PublicInbox/OverIdx.pm')
-rw-r--r--lib/PublicInbox/OverIdx.pm10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/PublicInbox/OverIdx.pm b/lib/PublicInbox/OverIdx.pm
index 9013ae23..e1cd31b9 100644
--- a/lib/PublicInbox/OverIdx.pm
+++ b/lib/PublicInbox/OverIdx.pm
@@ -668,14 +668,4 @@ DELETE FROM eidxq WHERE docid = ?
 
 }
 
-sub blob_exists {
-        my ($self, $oidhex) = @_;
-        my $sth = $self->dbh->prepare_cached(<<'', undef, 1);
-SELECT COUNT(*) FROM xref3 WHERE oidbin = ?
-
-        $sth->bind_param(1, pack('H*', $oidhex), SQL_BLOB);
-        $sth->execute;
-        $sth->fetchrow_array;
-}
-
 1;