projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
28357fd
)
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
patch
|
blob
|
blame
|
history
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI.pm
b/lib/DBIx/Class/Schema/Loader/DBI.pm
index
0dd8b25
..
1a377ec
100644
(file)
--- 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};