diff options
author | unknown <igor@hundin.mysql.fi> | 2003-02-23 04:27:03 +0200 |
---|---|---|
committer | unknown <igor@hundin.mysql.fi> | 2003-02-23 04:27:03 +0200 |
commit | 0463b01dc8f4afdbb8a0d710975b097b8609eb90 (patch) | |
tree | 197006a3f0d16ce5a4aa3a5c5e57e391fdee44ea | |
parent | 87ee470db0ef5fd5d1308b49e39b5bf46502bb80 (diff) | |
download | mariadb-git-0463b01dc8f4afdbb8a0d710975b097b8609eb90.tar.gz |
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
-rw-r--r-- | BitKeeper/etc/logging_ok | 1 | ||||
-rw-r--r-- | sql/opt_sum.cc | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/BitKeeper/etc/logging_ok b/BitKeeper/etc/logging_ok index 370f1a1eb8d..70aaa8d2a52 100644 --- a/BitKeeper/etc/logging_ok +++ b/BitKeeper/etc/logging_ok @@ -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 diff --git a/sql/opt_sum.cc b/sql/opt_sum.cc index 41771646082..aeaf8beef07 100644 --- a/sql/opt_sum.cc +++ b/sql/opt_sum.cc @@ -70,7 +70,8 @@ int opt_sum_query(TABLE_LIST *tables, List<Item> &all_fields,COND *conds) if (tl->table->map & where_tables) return 0; } - used_tables|= tl->table->map; + else + used_tables|= tl->table->map; } /* |