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.

>   $ 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);


-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Reply via email to