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

index 8c030d7..383b57c 100644 (file)
@@ -43,7 +43,7 @@ sub Literal {
   if (ref($_[0])) {
     return +{
       type => DQ_LITERAL,
-      parts => @{$_[0]},
+      parts => $_[0],
     };
   }
   return +{