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 /sql/opt_sum.cc | |
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
Diffstat (limited to 'sql/opt_sum.cc')
-rw-r--r-- | sql/opt_sum.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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; } /* |