]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiMailSync.pm
lei/store: do eidx_init before creating R/W lms dbh
[public-inbox.git] / lib / PublicInbox / LeiMailSync.pm
index ec05404ad004fc9740e7aec781fd9ddc96efd539..558988f3d3fe922121c286384ffab2f84f0aa590 100644 (file)
@@ -405,13 +405,12 @@ sub imap_oid {
        $oidbin ? unpack('H*', $oidbin) : undef;
 }
 
-# FIXME: something with "lei <up|q>" is causing uncommitted transaction
-# warnings, not sure what...
+# FIXED? something with "lei <up|q>" is causing uncommitted transaction
+# TODO: remove soon
 sub DESTROY {
        my ($self) = @_;
        my $dbh = delete($self->{dbh}) or return;
        return if $dbh->{ReadOnly};
-       use Carp;
        undef $dbh;
        warn "BUG $$ $0 $self {dbh} OPEN ppid=".getppid.' '.Carp::longmess();
 }