my $sth = $self->_sth_for($table, undef, \'1 = 0');
$sth->execute;
- my @columns = $sth->{NAME};
+ my @columns = @{ $sth->{NAME} };
for my $i (0 .. $#columns) {
my $column_info = {};
my $result = $self->next::method(@_);
my $dbh = $self->schema->storage->dbh;
- local $dbh->{FetchHashKeyName} = 'NAME_lc';
my $sth = $dbh->prepare(<<'EOF');
select c.colname, c.coltype, c.collength, c.colmin, d.type deflt_type, d.default deflt
my $num_rescans = 5;
$num_rescans-- if $self->{vendor} =~ /^(?:sybase|mysql)\z/i;
$num_rescans++ if $self->{vendor} eq 'mssql';
+ $num_rescans++ if $self->{vendor} eq 'Firebird';
plan tests => @connect_info *
(182 + $num_rescans * $column_accessor_map_tests + $extra_count + ($self->{data_type_tests}{test_count} || 0));