summaryrefslogtreecommitdiff
path: root/sql/records.cc
diff options
context:
space:
mode:
authorunknown <mskold@mysql.com>2005-04-05 15:56:43 +0200
committerunknown <mskold@mysql.com>2005-04-05 15:56:43 +0200
commitf7e828ef615d5f240a1e83f1d3a7359a1a7c5485 (patch)
tree724a999585fc60df68f2e5261ffd9b7c042de3eb /sql/records.cc
parentbaa424eef3e295502863b39009792afb622b3fc8 (diff)
downloadmariadb-git-f7e828ef615d5f240a1e83f1d3a7359a1a7c5485.tar.gz
Fix Bug #9517 Condition pushdown to storage engine does not work for update/delete, post review fix, removed quick constraint
Diffstat (limited to 'sql/records.cc')
-rw-r--r--sql/records.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/records.cc b/sql/records.cc
index 28a8e9a9aa5..cfb7cb3d065 100644
--- a/sql/records.cc
+++ b/sql/records.cc
@@ -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;