projects
/
dbsrgits/SQL-Abstract-2.0-ish.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
cbcfedc
)
Comment logic
Ash Berlin [Tue, 10 Mar 2009 09:38:51 +0000 (09:38 +0000)]
lib/SQL/Abstract/AST/v1.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/SQL/Abstract/AST/v1.pm
b/lib/SQL/Abstract/AST/v1.pm
index
7d269e4
..
5a2ccc9
100644
(file)
--- a/
lib/SQL/Abstract/AST/v1.pm
+++ b/
lib/SQL/Abstract/AST/v1.pm
@@
-114,6
+114,8
@@
class SQL::Abstract::AST::v1 extends SQL::Abstract {
$prio = $SQL::Abstract::PRIO{$1};
shift @$clauses;
} else {
+ # If first is not a ref, and its not -and or -or, then $clauses
+ # contains just a single clause
$clauses = [ $clauses ];
}
}