From: Dagfinn Ilmari Mannsåker Date: Wed, 12 Mar 2008 02:55:07 +0000 (+0000) Subject: Don't re-execute column_info sth, it's already active. X-Git-Tag: 0.04999_03~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3369b3aeaf02c5243118d1e2d563b0a65f0fc2bf;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Don't re-execute column_info sth, it's already active. --- diff --git a/lib/DBIx/Class/Schema/Loader/DBI.pm b/lib/DBIx/Class/Schema/Loader/DBI.pm index 0dd8b25..1a377ec 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI.pm @@ -212,7 +212,6 @@ sub _columns_info_for { my %result; eval { my $sth = $dbh->column_info( undef, $self->db_schema, $table, '%' ); - $sth->execute(); while ( my $info = $sth->fetchrow_hashref() ){ my %column_info; $column_info{data_type} = $info->{TYPE_NAME};