[Bast-commits] r8040 -
DBIx-Class/0.08/branches/mssql_rno_pagination/lib/DBIx/Class/Storage
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Sat Dec 5 09:46:43 GMT 2009
Author: ribasushi
Date: 2009-12-05 09:46:41 +0000 (Sat, 05 Dec 2009)
New Revision: 8040
Modified:
DBIx-Class/0.08/branches/mssql_rno_pagination/lib/DBIx/Class/Storage/DBI.pm
Log:
Better not touch Top - it's too complex at this point
Modified: DBIx-Class/0.08/branches/mssql_rno_pagination/lib/DBIx/Class/Storage/DBI.pm
===================================================================
--- DBIx-Class/0.08/branches/mssql_rno_pagination/lib/DBIx/Class/Storage/DBI.pm 2009-12-05 09:29:50 UTC (rev 8039)
+++ DBIx-Class/0.08/branches/mssql_rno_pagination/lib/DBIx/Class/Storage/DBI.pm 2009-12-05 09:46:41 UTC (rev 8040)
@@ -1782,7 +1782,7 @@
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
&&
More information about the Bast-commits
mailing list