Skip Menu |

This queue is for tickets about the SQL-Abstract-Limit CPAN distribution.

Report information
The Basics
Id: 40012
Status: rejected
Priority: 0/
Queue: SQL-Abstract-Limit

People
Owner: Nobody in particular
Requestors: okura3 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.12
Fixed in: 0.142



Subject: wrong where phrase
perl -de 1 DB<1> use SQL::Abstract::Limit DB<2> $sqla = SQL::Abstract->new( logic => 'and' ) DB<3> $sqlb = SQL::Abstract::Limit->new( logic=>'and' ) DB<4> @where = ( a => {'>', 1}, a => {'<', 10} ) DB<5> x $sqla->select('table_a', [a,b,c], \@where) 0 'SELECT a, b, c FROM table_a WHERE ( ( a > ? ) AND ( a < ? ) )' 1 1 2 10 DB<6> x $sqlb->select('table_a', [a,b,c], \@where) 0 'SELECT a, b, c FROM table_a WHERE ( ( a > ? ) OR ( a < ? ) )' 1 1 2 10 where phase is unmatch.
Cannot reproduce with SQL::Abstract::Limit v0.142. Please re-open the issue if the problem is not solved.