Commit 3752aa72 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 0e7c8415
......@@ -536,7 +536,6 @@ static bool replace_where_subcondition(JOIN *join, Item **expr,
*expr= new_cond;
if (do_fix_fields)
new_cond->fix_fields(join->thd, expr);
join->select_lex->where= *expr;
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