Re: S::Q / Gisle

Jens Rehsack <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
H.Merijn Brand wrote:
> 

Thanks Merijn.

> ------------------------------------------------------------------------
> 
> Subject:
> DBI 1.608 breaks SQL-Statement
> From:
> Gisle Aas <[email protected]>
> Date:
> Tue, 12 May 2009 22:12:44 +0200
> To:
> DBI Developers Mailing List <[email protected]>
> 
> To:
> DBI Developers Mailing List <[email protected]>
> 
> 
> I get test failures from SQL-Statement after upgrading to DBI-1.608. 
> The test pass fine with DBI-1.607.   Any ideas?

SQL::Statement contains a lot of issues - I'll try to get them out together
with Merijn step by step. The upcoming release will contain a lot of changes
regarding evaluating conditions and this takes more time than expected
(otherwise I'd released a fix before).

>  $ 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.

Thanks for that hint. I'll take a deeper look when I finished the rework of
the process_predicate() routine (I think mid next week).
Currently I assume it's the same bug Merijn tried to work around in
DBD::File in DBI-1.609, but it was a workaround, not a fix.

I'll keep you informed.

Jens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.