$cb->($ddl);
}
else {
- $dbh->do($_)
+ $dbh->do($ddl);
}
}
}
$cb->($ddl);
}
else {
- $dbh->do($_)
+ $dbh->do($ddl);
}
}
}
my @size = split /,/, $size;
# some DBs don't like very long column names
- if ($self->{vendor} =~ /^(?:firebird|sqlanywhere|oracle|db2)\z/i) {
+ if ($self->{vendor} =~ /^(?:Firebird|SQLAnywhere|Oracle|DB2)\z/i) {
my ($col_def, $default) = $type_alias =~ /^(.*)(default.*)?\z/i;
$type_alias = substr $col_def, 0, 15;