Better not touch Top - it's too complex at this point
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI.pm
index 28e3465..08f2619 100644 (file)
@@ -1782,7 +1782,7 @@ sub _select_args {
   elsif (
     ($attrs->{rows} || $attrs->{offset})
       &&
-    ($sql_maker->limit_dialect eq 'RowNumberOver' || $sql_maker->limit_dialect eq 'Top' )
+    $sql_maker->limit_dialect eq 'RowNumberOver'
       &&
     (ref $ident eq 'ARRAY' && @$ident > 1)  # indicates a join
       &&