~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/sql_select.cc

  • Committer: Brian Aker
  • Date: 2008-07-12 14:55:02 UTC
  • Revision ID: brian@tangent.org-20080712145502-yp3e3gkwun24f0mp
Removed dead FT bits. Small refactoring in sql_plugin.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
3527
3527
    }
3528
3528
    if ((table->s->system || table->file->stats.records <= 1) &&
3529
3529
        !s->dependent &&
3530
 
        (table->file->ha_table_flags() & HA_STATS_RECORDS_IS_EXACT) &&
3531
 
        !table->fulltext_searched && !join->no_const_tables)
 
3530
        (table->file->ha_table_flags() & HA_STATS_RECORDS_IS_EXACT) && !join->no_const_tables)
3532
3531
    {
3533
3532
      set_position(join,const_count++,s,(KEYUSE*) 0);
3534
3533
    }
3696
3695
          } while (keyuse->table == table && keyuse->key == key);
3697
3696
 
3698
3697
          if (eq_part.is_prefix(table->key_info[key].key_parts) &&
3699
 
              !table->fulltext_searched && 
3700
3698
              !table->pos_in_table_list->embedding)
3701
3699
          {
3702
3700
            if ((table->key_info[key].flags & (HA_NOSAME))