projects
/
dbsrgits/Data-Query.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e82795b
)
Remove array expansion in Literal()
Matt Phillips [Fri, 17 Aug 2012 16:47:01 +0000 (12:47 -0400)]
Was breaking SQL::Abstract testsuite.
lib/Data/Query/ExprHelpers.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Data/Query/ExprHelpers.pm
b/lib/Data/Query/ExprHelpers.pm
index
8c030d7
..
383b57c
100644
(file)
--- a/
lib/Data/Query/ExprHelpers.pm
+++ b/
lib/Data/Query/ExprHelpers.pm
@@
-43,7
+43,7
@@
sub Literal {
if (ref($_[0])) {
return +{
type => DQ_LITERAL,
- parts => @{$_[0]},
+ parts => $_[0],
};
}
return +{