Commit f35787b6 authored by konstantin@oak.local's avatar konstantin@oak.local

cleanup: unused variable removed

followup of Bordeaux Optimizer session
parent eb27c16d
...@@ -1609,10 +1609,6 @@ mysql_select(THD *thd, Item ***rref_pointer_array, ...@@ -1609,10 +1609,6 @@ mysql_select(THD *thd, Item ***rref_pointer_array,
err: err:
if (free_join) if (free_join)
{ {
JOIN *curr_join= (join->need_tmp&&join->tmp_join?
(join->tmp_join->error=join->error,join->tmp_join):
join);
thd->proc_info="end"; thd->proc_info="end";
err= join->cleanup(); err= join->cleanup();
if (thd->net.report_error) if (thd->net.report_error)
......
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