Re: Incorrect DBI/DBD::SQLite type_info() result?
Mark Lawrence <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.dbi.general |
|---|---|
| Message-ID | <[email protected]> |
> The attached test returns the following:
It seems the list strips out attachments. Here is the test inline.
use strict;
use warnings;
use DBI;
use Test::More;
use Test::Database;
foreach my $handle ( Test::Database->handles(qw/SQLite Pg DBM/) ) {
my $db = DBI->connect(
$handle->connection_info,
{
PrintError => 0,
RaiseError => 1,
}
);
is $db->quote( 42, DBI::SQL_INTEGER ), 42,
'SQL_INTEGER ' . $handle->dsn;
}
done_testing();
Mark.
--
Mark Lawrence