Subject: | Problem with Sponge driver call in DBI::DBD::SqlEngine |
# Temporary kludge: DBD::Sponge dies if @tables is empty. :-(
@tables or return;
my $dbh2 = $dbh->func("sql_sponge_driver");
my $sth = $dbh2->prepare(
"TABLE_INFO",
{
rows => \@tables,
NAMES => $names,
}
);
$sth or $dbh->set_err( $DBI::stderr, $dbh2->errstr );
return $sth;
There is no such attrib called "NAMES". It should be "NAME". This is
causing the TABLE_INFO call to not use the proper names.
Also, can DBD::Sponge be fixed to accept empty-tabled rows?