summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_group.result
diff options
context:
space:
mode:
authorunknown <bell@laptop.sanja.is.com.ua>2003-09-20 18:30:36 +0300
committerunknown <bell@laptop.sanja.is.com.ua>2003-09-20 18:30:36 +0300
commit40ec79a7834618b825022aec5fd92778ce27a6cd (patch)
tree76bc7cac6aca2dad20557d13609ee07fda511a04 /mysql-test/r/func_group.result
parent86f1f2a183271ca930ee9885fffaf4023b20eb80 (diff)
downloadmariadb-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.result9
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;