Commit 0599a4e0 authored by Sergey Petrunya's avatar Sergey Petrunya

Prepare for OJ+SJ handling: Make replace_where_subcondition() not to assume

it's working on the WHERE clause.
parent 11c74662
...@@ -536,7 +536,6 @@ static bool replace_where_subcondition(JOIN *join, Item **expr, ...@@ -536,7 +536,6 @@ static bool replace_where_subcondition(JOIN *join, Item **expr,
*expr= new_cond; *expr= new_cond;
if (do_fix_fields) if (do_fix_fields)
new_cond->fix_fields(join->thd, expr); new_cond->fix_fields(join->thd, expr);
join->select_lex->where= *expr;
return FALSE; return FALSE;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment