diff options
author | unknown <monty@hundin.mysql.fi> | 2002-12-02 13:41:08 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-12-02 13:41:08 +0200 |
commit | e3cecfd10c8006c6a9dabbb149225adbf5ce4deb (patch) | |
tree | 258b8df362d265455a76f9aca82b19e34555e89a /sql/item_cmpfunc.h | |
parent | a3f9f721bca6d7d2dcd414fa295812995219ca86 (diff) | |
download | mariadb-git-e3cecfd10c8006c6a9dabbb149225adbf5ce4deb.tar.gz |
Fixed bug in MAX() optimization when used with JOIN and ON expressions
(Patch from 4.0.5)
mysql-test/r/group_by.result:
Updated results
mysql-test/t/group_by.test:
Test for bug
sql/item_cmpfunc.cc:
Fixed bug in MAX() optimization when used with JOIN and ON expressions
sql/item_cmpfunc.h:
Fixed bug in MAX() optimization when used with JOIN and ON expressions
sql/opt_sum.cc:
Fixed bug in MAX() optimization when used with JOIN and ON expressions
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index e7c598808e8..061376a7e2d 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -573,3 +573,5 @@ inline Item *and_conds(Item *a,Item *b) cond->update_used_tables(); return cond; } + +Item *and_expressions(Item *a, Item *b, Item **org_item); |