Commit 183b02a8 authored by unknown's avatar unknown

Fix wrong last edit for last commit

parent 76bf7d22
...@@ -608,7 +608,7 @@ JOIN::optimize() ...@@ -608,7 +608,7 @@ JOIN::optimize()
!(select_options & SELECT_NO_UNLOCK)) !(select_options & SELECT_NO_UNLOCK))
{ {
TABLE **curr_table, **end; TABLE **curr_table, **end;
for (curr_table= table, end=cur_table + const_tables ; for (curr_table= table, end=curr_table + const_tables ;
curr_table != end; curr_table != end;
curr_table++) curr_table++)
{ {
...@@ -1411,7 +1411,7 @@ JOIN::exec() ...@@ -1411,7 +1411,7 @@ JOIN::exec()
if (!(curr_table->select->cond= if (!(curr_table->select->cond=
new Item_cond_and(curr_table->select->cond, sort_table_cond))) new Item_cond_and(curr_table->select->cond, sort_table_cond)))
DBUG_VOID_RETURN; DBUG_VOID_RETURN;
curr_table->select_cond= cur_table->select->cond; curr_table->select_cond= curr_table->select->cond;
curr_table->select_cond->top_level_item(); curr_table->select_cond->top_level_item();
DBUG_EXECUTE("where",print_where(curr_table->select->cond, DBUG_EXECUTE("where",print_where(curr_table->select->cond,
"select and having");); "select and having"););
......
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