File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6193,8 +6193,7 @@ int ha_partition::common_first_last(uchar *buf)
61936193 return error;
61946194 if (!m_ordered_scan_ongoing)
61956195 {
6196- if (unlikely ((error= handle_pre_scan (reverse_order,
6197- check_parallel_search ()))))
6196+ if (unlikely ((error= handle_pre_scan (reverse_order, FALSE ))))
61986197 return error;
61996198 return handle_unordered_scan_next_partition (buf, reverse_order);
62006199 }
Original file line number Diff line number Diff line change @@ -8309,7 +8309,8 @@ void ha_spider::check_pre_call(
83098309 select_lex, &select_limit, &offset_limit);
83108310 if (
83118311 select_lex &&
8312- (!select_lex->limit_params .explicit_limit || !select_limit)
8312+ (!select_lex->limit_params .explicit_limit || !select_limit) &&
8313+ !select_lex->with_sum_func
83138314 ) {
83148315 use_pre_call = TRUE ;
83158316 }
You can’t perform that action at this time.
0 commit comments