[rt-devel] Bug in 3.0.3pre1 (was: Migrate from Postgres to MySQL)
Jesse Vincent
jesse at bestpractical.com
Fri May 30 15:14:00 EDT 2003
On Fri, May 30, 2003 at 11:38:07PM +0800, Autrijus Tang wrote:
> Also, DBIx::SearchBuilder 0.83_02 seems to be broken on my Pg
> installation, which is fixed by this patch.
>
> Thanks,
> /Autrijus/
>
> --- SearchBuilder.pm.orig Fri May 30 23:35:43 2003
> +++ SearchBuilder.pm Fri May 30 23:34:06 2003
> @@ -1299,7 +1299,7 @@
>
> sub DESTROY {
> my $self = shift;
> - if( defined $self->dbh ) {
> + if( $self->can('dbh') and defined $self->dbh ) {
> $self->Disconnect();
> }
> }
This was my fault. Stan's patch was fine. I just applied it to the wrong
file. (Should have been Handle.pm)
0.83_03 is on CPAN now and should fix this.
--
http://www.bestpractical.com/rt -- Trouble Ticketing. Free.
More information about the Rt-devel
mailing list