Commit 726e5982 authored by igor@hundin.mysql.fi's avatar igor@hundin.mysql.fi

opt_sum.cc:

  Correction for min/max optimization of queries with outer joins
parent 572e2a15
......@@ -22,6 +22,7 @@ heikki@hundin.mysql.fi
heikki@rescue.
heikki@work.mysql.com
hf@genie.(none)
igor@hundin.mysql.fi
jani@dsl-jkl1657.dial.inet.fi
jani@hynda.(none)
jani@hynda.mysql.fi
......
......@@ -70,6 +70,7 @@ int opt_sum_query(TABLE_LIST *tables, List<Item> &all_fields,COND *conds)
if (tl->table->map & where_tables)
return 0;
}
else
used_tables|= tl->table->map;
}
......
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