1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Merge of fix for bug#58553, "Queries with pushed conditions causes 'explain

extended' to crash mysqld" (see http://lists.mysql.com/commits/128409).
This commit is contained in:
Jan Wedvik
2011-01-11 12:33:28 +01:00
3 changed files with 6 additions and 1 deletions

View File

@ -6476,7 +6476,6 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
tab->select_cond=sel->cond=tmp;
/* Push condition to storage engine if this is enabled
and the condition is not guarded */
tab->table->file->pushed_cond= NULL;
if (thd->variables.optimizer_switch &
OPTIMIZER_SWITCH_ENGINE_CONDITION_PUSHDOWN)
{