~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_select.cc

  • Committer: Mark Atwood
  • Date: 2012-01-04 16:59:32 UTC
  • mfrom: (2478.2.3 real-key-use-catalog)
  • Revision ID: me@mark.atwood.name-20120104165932-cm0xqs4by0u3p4cy
mergeĀ lp:~stewart/drizzle/key-use-catalog

Show diffs side-by-side

added added

removed removed

Lines of Context:
5161
5161
                                    join->unit->select_limit_cnt,
5162
5162
                                    true, false) > 0;
5163
5163
      }
5164
 
      if (!no_changes)
 
5164
      if (no_changes == false)
5165
5165
      {
5166
5166
        if (!quick_created)
5167
5167
        {
5168
5168
          tab->index= best_key;
5169
5169
          tab->read_first_record= best_key_direction > 0 ?
5170
 
                                  join_read_first:join_read_last;
 
5170
                                  join_read_first : join_read_last;
5171
5171
          tab->type= AM_NEXT;           // Read with index_first(), index_next()
5172
5172
          if (select && select->quick)
5173
5173
          {