From: Justin Guenther Date: Mon, 12 Jun 2006 16:05:07 +0000 (+0000) Subject: fixed wrong debugging hook call query_begin() to query_start() in Storage::DBI X-Git-Tag: v0.07002~75^2~112 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bdea30e38801703681415e123cdf34f15545fa55;p=dbsrgits%2FDBIx-Class.git fixed wrong debugging hook call query_begin() to query_start() in Storage::DBI --- diff --git a/lib/DBIx/Class/Storage/DBI.pm b/lib/DBIx/Class/Storage/DBI.pm index c4ea2a5..92d4223 100644 --- a/lib/DBIx/Class/Storage/DBI.pm +++ b/lib/DBIx/Class/Storage/DBI.pm @@ -965,7 +965,7 @@ sub deploy { # next if($_ =~ /^DROP/m); next if($_ =~ /^BEGIN TRANSACTION/m); next if($_ =~ /^COMMIT/m); - $self->debugobj->query_begin($_) if $self->debug; + $self->debugobj->query_start($_) if $self->debug; $self->dbh->do($_) or warn "SQL was:\n $_"; $self->debugobj->query_end($_) if $self->debug; }