[Bast-commits] r9310 - DBIx-Class/0.08/trunk/lib/DBIx/Class
ribasushi at dev.catalyst.perl.org
ribasushi at dev.catalyst.perl.org
Wed May 5 12:56:38 GMT 2010
Author: ribasushi
Date: 2010-05-05 13:56:37 +0100 (Wed, 05 May 2010)
New Revision: 9310
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/SQLAHacks.pm
Log:
Forgotten pieces
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/SQLAHacks.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/SQLAHacks.pm 2010-05-05 11:02:39 UTC (rev 9309)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/SQLAHacks.pm 2010-05-05 12:56:37 UTC (rev 9310)
@@ -405,8 +405,6 @@
$table = $self->_quote($table);
}
- local $self->{rownum_hack_count} = 1
- if (defined $rest[0] && $self->{limit_dialect} eq 'RowNum');
@rest = (-1) unless defined $rest[0];
croak "LIMIT 0 Does Not Compute" if $rest[0] == 0;
# and anyway, SQL::Abstract::Limit will cause a barf if we don't first
@@ -532,7 +530,7 @@
my $sql = '';
- if (my $g = $self->_recurse_fields($arg->{group_by}, { no_rownum_hack => 1 }) ) {
+ if (my $g = $self->_recurse_fields($arg->{group_by}) ) {
$sql .= $self->_sqlcase(' group by ') . $g;
}
More information about the Bast-commits
mailing list