From: Dagfinn Ilmari Mannsåker Date: Wed, 12 Mar 2008 03:02:26 +0000 (+0000) Subject: Don't execute the column_info sth, it's already active. X-Git-Tag: 0.04006~17 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=03d3e4e57305d3fd24af72451387ea74302ad8c3;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Don't execute the 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 9d6d0ea..fa53668 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};