~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/records.cc

  • Committer: Brian Aker
  • Date: 2009-08-04 06:21:17 UTC
  • mfrom: (1108.2.2 merge)
  • Revision ID: brian@gaz-20090804062117-fef8x6y3ydzrvab3
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
234
234
          !(table->file->ha_table_flags() & HA_NOT_DELETE_WITH_CACHE))))
235
235
      table->file->extra_opt(HA_EXTRA_CACHE, session->variables.read_buff_size);
236
236
  }
237
 
  /*
238
 
    Do condition pushdown for UPDATE/DELETE.
239
 
    TODO: Remove this from here as it causes two condition pushdown calls
240
 
    when we're running a SELECT and the condition cannot be pushed down.
241
 
  */
242
 
  if (session->variables.engine_condition_pushdown &&
243
 
      select && select->cond &&
244
 
      (select->cond->used_tables() & table->map) &&
245
 
      !table->file->pushed_cond)
246
 
    table->file->cond_push(select->cond);
247
237
 
248
238
  return;
249
239
} /* init_read_record */