On May 12, 2009, at 23:17 , H.Merijn Brand wrote:

On Tue, 12 May 2009 22:12:44 +0200, Gisle Aas <gi...@activestate.com>
wrote:

I get test failures from SQL-Statement after upgrading to DBI-1.608.
The test pass fine with DBI-1.607.   Any ideas?

Yes. That is my (fault) doing (changes in DBD::File)

SQL::Statement is in the scaffolding, and is expected to be updated
real soon, fixing memory leaks and bugs like this. The work was delayed
due to lightning damage.

Any news on progress with this?

The SQL-Statement failure is the same with DBI-1.609 (and with SQL- Statement 1.20).

--Gisle


 $ perl -Ilib t/05create.t
 1..5
 SQL::Statement v.1.15
 DBD::File::db do failed: You passed 1 parameters where 0 required
[for Statement "CREATE TEMP TABLE aoa AS IMPORT(?)"] at t/05create.t
line 21.
 DBD::File::db do failed: You passed 1 parameters where 0 required
[for Statement "CREATE TEMP TABLE aoa AS IMPORT(?)"] at t/05create.t
line 21.
 # Looks like your test exited with 255 before it could output
anything.

The test tries to do this:

 ########################################
 # CREATE TABLE AS IMPORT($AoA);
 ########################################
 my $aoa = [['c1','c2'],[1,9],[2,8] ];
 $dbh->do("CREATE TEMP TABLE aoa AS IMPORT(?)",{},$aoa);

Reply via email to