Debug-print initial chunk size.

This commit is contained in:
Daniel Nichter
2011-09-20 11:51:40 -06:00
parent 412e9e4e18
commit 30dc37e3a5

View File

@@ -152,13 +152,16 @@ sub new {
. " /*explain one nibble*/";
MKDEBUG && _d('Explain one nibble statement:', $explain_one_nibble_sql);
my $limit = $o->get('chunk-size') - 1;
MKDEBUG && _d('Initial chunk size (LIMIT):', $limit);
my $self = {
%args,
asc => $asc,
index => $index,
from => $from,
order_by => $order_by,
limit => $o->get('chunk-size') - 1,
limit => $limit,
first_lb_sql => $first_lb_sql,
last_ub_sql => $last_ub_sql,
ub_sql => $ub_sql,