Skip Menu |
 

This queue is for tickets about the Alzabo CPAN distribution.

Maintainer(s)' notes

Not really maintained any more. Interested in taking it over? Email the author.

Report information
The Basics
Id: 19596
Status: open
Priority: 0/
Queue: Alzabo

People
Owner: Nobody in particular
Requestors: Rainer.Rohmfeld [...] emuge.de
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.87
Fixed in: (no value)



Subject: where conditions do not accept SQL functions like REPLACE
Download (untitled) / with headers
text/plain 289b
the following where condition results in an error: where=>[REPLACE($table->name,' ',''),'=','blafoo'] The error can be fixed in SQLMaker::condition 542 validate_pos ( @_, 543 { type => OBJECT }, 544 .... by changing line 543 to { type=> OBJECT | SCALAR },
Download (untitled) / with headers
text/plain 525b
On Tue May 30 02:56:01 2006, guest wrote: Show quoted text
> the following where condition results in an error: > > where=>[REPLACE($table->name,' ',''),'=','blafoo'] > > The error can be fixed in SQLMaker::condition > > 542 validate_pos ( @_, > 543 { type => OBJECT }, > 544 .... > > by changing line 543 to { type=> OBJECT | SCALAR },
Sorry for the ridiculously slow response. This should work as-is. There's a bunch of tests in 03-runtime.t that use SQL functions as the first part of a where condition.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.