Commit f7e828ef authored by unknown's avatar unknown
Browse files

Fix Bug #9517 Condition pushdown to storage engine does not work for...

Fix Bug #9517  Condition pushdown to storage engine does not work for update/delete, post review fix, removed quick constraint


parent baa424ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -132,7 +132,7 @@ void init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
  if (thd->variables.engine_condition_pushdown && 
      select && select->cond && 
      select->cond->used_tables() & table->map &&
      !(select->quick || table->file->pushed_cond))
      !table->file->pushed_cond)
    table->file->cond_push(select->cond);

  DBUG_VOID_RETURN;