Fix incorrect comparison of malformed lists
authorPeter Rabbitson <ribasushi@cpan.org>
Fri, 7 Jan 2011 09:18:32 +0000 (10:18 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Fri, 7 Jan 2011 09:18:32 +0000 (10:18 +0100)
commit7cc4731935b0b0e60c7d4ebe44512de74de5dc3c
treed1c43e6003a3f49d9296bafb089a51f3e4a48abc
parent0f9a26cb13f772fe0813987a0641baf193fa9782
Fix incorrect comparison of malformed lists

AND OR and , must have both a lhs and a rhs, if neither is
present add a [], which will properly trip the comparison
later on.
Changes
lib/SQL/Abstract/Tree.pm
t/10test.t