about summary refs log tree commit homepage
path: root/lib/PublicInbox/OverIdx.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/OverIdx.pm')
-rw-r--r--lib/PublicInbox/OverIdx.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/OverIdx.pm b/lib/PublicInbox/OverIdx.pm
index c521464a..512c5f46 100644
--- a/lib/PublicInbox/OverIdx.pm
+++ b/lib/PublicInbox/OverIdx.pm
@@ -455,10 +455,10 @@ sub rollback_lazy {
         $self->{dbh}->rollback;
 }
 
-sub disconnect {
+sub dbh_close {
         my ($self) = @_;
         die "in transaction" if $self->{txn};
-        $self->SUPER::disconnect;
+        $self->SUPER::dbh_close;
 }
 
 sub create {
@@ -470,7 +470,7 @@ sub create {
         }
         # create the DB:
         PublicInbox::Over::dbh($self);
-        $self->disconnect;
+        $self->dbh_close;
 }
 
 sub rethread_prepare {