Return-Path: Delivered-To: apmail-modperl-archive@apache.org Received: (qmail 33231 invoked by uid 500); 5 Apr 2001 08:26:37 -0000 Mailing-List: contact modperl-help@apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list modperl@apache.org Received: (qmail 33093 invoked from network); 5 Apr 2001 08:26:35 -0000 Date: Thu, 5 Apr 2001 09:24:40 +0100 From: Tim Bunce To: Alec Smith Cc: modperl@apache.org Subject: Re: Problem with Apache::DBI Message-ID: <20010405092440.E6109@ig.co.uk> References: <5.0.2.1.2.20010404234516.022da700@bugs.home.shadowstar.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <5.0.2.1.2.20010404234516.022da700@bugs.home.shadowstar.net>; from Alec Smith on Wed, Apr 04, 2001 at 11:49:17PM -0400 Organization: Paul Ingram Group, Software Systems, +44 1 483 862800 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N You would only get that message if AutoCommit was off. It should not be off for DBD::mysql (since it doesn't yet support the transaction features of newer versions). Plus, disconnect doesn't do anything when using Apache::DBI (by design). Tim. On Wed, Apr 04, 2001 at 11:49:17PM -0400, Alec Smith wrote: > Issuing rollback() for database handle being DESTROY'd without explicit > disconnect() at /usr/lib/perl5/site_perl/5.005/Apache/DBI.pm line 139. > > Using Apache::DBI 0.88+DBI 1.14+mod_perl 1.25+MySQL 3.23.36 I'm getting the > above in my error_log and am not sure why. Any ideas? I do have a > $db->disconnect; line in my modules. > > Just a tad lost, > Alec