summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_group.test
diff options
context:
space:
mode:
authorunknown <jani@ua141d10.elisa.omakaista.fi>2005-03-01 22:19:19 +0200
committerunknown <jani@ua141d10.elisa.omakaista.fi>2005-03-01 22:19:19 +0200
commit53bfeb48442ed04c8498cb4118b3715fd1dbeb42 (patch)
tree701e55a57172693eb5cc80b3d8c70b8a5e5305f2 /mysql-test/t/func_group.test
parent425573747f54cf54187a0985e21fddf580c8e924 (diff)
downloadmariadb-git-53bfeb48442ed04c8498cb4118b3715fd1dbeb42.tar.gz
Fix for Bug#5615 and merge from 4.1
mysql-test/r/func_group.result: Added some tests and fix for Bug#5615. mysql-test/r/show_check.result: Fix for Bug#5615. mysql-test/t/func_group.test: Added some tests. sql/item_sum.cc: Fix for Bug#5615. sql/item_sum.h: Fix for Bug#5615. sql/sql_select.cc: Fix for Bug#5615. sql/sql_select.h: Fix for Bug#5615.
Diffstat (limited to 'mysql-test/t/func_group.test')
-rw-r--r--mysql-test/t/func_group.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test
index 51528be8952..96fd297dc20 100644
--- a/mysql-test/t/func_group.test
+++ b/mysql-test/t/func_group.test
@@ -395,8 +395,12 @@ create table t1 (a char character set latin2);
insert into t1 values ('a'),('b');
select charset(max(a)), coercibility(max(a)),
charset(min(a)), coercibility(min(a)) from t1;
+show create table t1;
create table t2 select max(a),min(a) from t1;
show create table t2;
+drop table t2;
+create table t2 select concat(a) from t1;
+show create table t2;
drop table t2,t1;
#