summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2012-06-26 11:37:48 -0700
committerIgor Babaev <igor@askmonty.org>2012-06-26 11:37:48 -0700
commit4a6a08309cd78091246a7fd598bc43cd25deba45 (patch)
tree67d596918a2c844d7d873342caa754c39e526041 /sql/sql_delete.cc
parent4ff6fd34dae6315384d8c38ea69092cde09b78ba (diff)
parent072097174c8b91299fe74a3cd7c5248e6e3cfc57 (diff)
downloadmariadb-git-4a6a08309cd78091246a7fd598bc43cd25deba45.tar.gz
Merge 5.5 -> 5.5-mwl248.
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r--sql/sql_delete.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index bbcc212b1ba..d4b64b10cca 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -120,7 +120,7 @@ bool mysql_delete(THD *thd, TABLE_LIST *table_list, COND *conds,
}
/* Apply the IN=>EXISTS transformation to all subqueries and optimize them. */
- if (select_lex->optimize_unflattened_subqueries())
+ if (select_lex->optimize_unflattened_subqueries(false))
DBUG_RETURN(TRUE);
const_cond= (!conds || conds->const_item());