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
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 },
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.