diff options
author | unknown <bell@laptop.sanja.is.com.ua> | 2003-09-20 18:30:36 +0300 |
---|---|---|
committer | unknown <bell@laptop.sanja.is.com.ua> | 2003-09-20 18:30:36 +0300 |
commit | 40ec79a7834618b825022aec5fd92778ce27a6cd (patch) | |
tree | 76bc7cac6aca2dad20557d13609ee07fda511a04 /mysql-test/r/func_group.result | |
parent | 86f1f2a183271ca930ee9885fffaf4023b20eb80 (diff) | |
download | mariadb-git-40ec79a7834618b825022aec5fd92778ce27a6cd.tar.gz |
fixed processing aggregate functions with static tables (BUG#1318)
mysql-test/r/func_group.result:
test of BUG#1318
mysql-test/r/subselect.result:
correct results
mysql-test/t/func_group.test:
test of BUG#1318
sql/sql_select.cc:
hixed processing of static tables
Diffstat (limited to 'mysql-test/r/func_group.result')
-rw-r--r-- | mysql-test/r/func_group.result | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/r/func_group.result b/mysql-test/r/func_group.result index 3af75b3c5bc..8b7581c3cc8 100644 --- a/mysql-test/r/func_group.result +++ b/mysql-test/r/func_group.result @@ -618,3 +618,12 @@ select coercibility(max(a)) from t1; coercibility(max(a)) 3 drop table t1; +create table t1 (a int); +insert into t1 values (1); +select max(a) as b from t1 having b=1; +b +1 +select a from t1 having a=1; +a +1 +drop table t1; |