~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/opt_sum.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-11-26 04:33:51 UTC
  • mto: (1228.4.1 push)
  • mto: This revision was merged to the branch mainline in revision 1234.
  • Revision ID: osullivan.padraig@gmail.com-20091126043351-2ebmuyzrbifxat0q
Removed all remnants of schema_table from the TableList class. This cleans up a bunch of code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
162
162
      Schema tables are filled after this function is invoked, so we can't
163
163
      get row count
164
164
    */
165
 
    if (!(tl->table->cursor->ha_table_flags() & HA_STATS_RECORDS_IS_EXACT) ||
166
 
        tl->schema_table)
 
165
    if (!(tl->table->cursor->ha_table_flags() & HA_STATS_RECORDS_IS_EXACT))
167
166
    {
168
 
      maybe_exact_count&= test(!tl->schema_table &&
 
167
      maybe_exact_count&= test(
169
168
                               (tl->table->cursor->ha_table_flags() &
170
169
                                HA_HAS_RECORDS));
171
170
      is_exact_count= false;