Don't re-execute column_info sth, it's already active.
Dagfinn Ilmari Mannsåker [Wed, 12 Mar 2008 02:55:07 +0000 (02:55 +0000)]
lib/DBIx/Class/Schema/Loader/DBI.pm

index 0dd8b25..1a377ec 100644 (file)
@@ -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};