Subject: | binding of 64bit integers fail on 1.34_02 |
The following test case works great on versions prior to 1.34_02 but
fails onwards with error message "DBD::SQLite::st execute warning:
datatype mismatch: bind 0 type 1 as 10000000000".
v5.8.8 built for x86_64-linux-thread-multi
DBI v1.616
=== test follows ===
use strict;
use warnings;
use DBI qw(:sql_types);
my $dbh = DBI->connect( 'dbi:SQLite:database=:memory:' );
$dbh->do( 'CREATE TABLE Test ( ID integer )' );
my $sth = $dbh->prepare( 'INSERT INTO Test VALUES( ? )' );
$sth->bind_param( 1, 10000000000, SQL_INTEGER );
$sth->execute