patch by Norbert BUCHMULLER (order_by => undef)
[dbsrgits/SQL-Abstract.git] / lib / SQL / Abstract.pm
index c7199f1..90cf77d 100644 (file)
@@ -711,6 +711,7 @@ sub _order_by {
     },
 
     SCALAR    => sub {$self->_quote($arg)},
+    UNDEF     => sub {},
     SCALARREF => sub {$$arg}, # literal SQL, no quoting
     HASHREF   => sub {$self->_order_by_hash($arg)},