Commit 322f7d37 authored by unknown's avatar unknown

opt_sum.cc:

  Correction for min/max optimization of queries with outer joins


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