Develop and Download Open Source Software

Browse Subversion Repository

Diff of /tags/tritonn-1.0.10-mysql-5.0.51a/sql/sql_select.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 134 by mir, Mon Jun 9 03:36:22 2008 UTC revision 135 by mir, Mon Jun 9 08:00:56 2008 UTC
# Line 10458  static void Line 10458  static void
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

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26