Browse Subversion Repository
Diff of /tags/tritonn-1.0.10-mysql-5.0.51a/sql/sql_select.cc
Parent Directory
| Revision Log
| Patch
| 10458 |
decide_read_or_skip(JOIN *join,JOIN_TAB *join_tab,bool needs_record) |
decide_read_or_skip(JOIN *join,JOIN_TAB *join_tab,bool needs_record) |
| 10459 |
{ |
{ |
| 10460 |
if (needs_record || (my_thread_var->sen_flags & (SENNA_DISTINCT | SENNA_FIRST_CALL)) || |
if (needs_record || (my_thread_var->sen_flags & (SENNA_DISTINCT | SENNA_FIRST_CALL)) || |
| 10461 |
(join_tab->next_select != end_send_group && |
(!join->unit->offset_limit_cnt && |
|
!join->unit->offset_limit_cnt && |
|
| 10462 |
join->send_records < join->unit->select_limit_cnt)) { |
join->send_records < join->unit->select_limit_cnt)) { |
| 10463 |
DEBUG_2IND(my_thread_var->sen_flags |= SENNA_IF_READ_RECORD); |
DEBUG_2IND(my_thread_var->sen_flags |= SENNA_IF_READ_RECORD); |
| 10464 |
} else { |
} else { |
|
|
Legend:
| Removed from v.134 |
|
| changed lines |
| |
Added in v.135 |
|
|
|