summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_group.test
diff options
context:
space:
mode:
authorunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2007-03-29 13:37:07 +0500
committerunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2007-03-29 13:37:07 +0500
commit9683b0ae68d129ce3bc267c16b0c62bd27dc9ae8 (patch)
tree7ebe1c687b4955d6d97c7a4b089e5765976a79a7 /mysql-test/t/func_group.test
parentdf99063599fb02e2b79b6ddf1b4b758c414ce229 (diff)
parentc872b005e2987ebc10db219c5ce8657441fe3533 (diff)
downloadmariadb-git-9683b0ae68d129ce3bc267c16b0c62bd27dc9ae8.tar.gz
Merge mysql.com:/home/ram/work/mysql-5.0-maint
into mysql.com:/home/ram/work/b21976/my50-b21976 sql/item.h: Auto merged mysql-test/r/func_group.result: merging mysql-test/t/func_group.test: merging sql/item_sum.cc: merging
Diffstat (limited to 'mysql-test/t/func_group.test')
-rw-r--r--mysql-test/t/func_group.test11
1 files changed, 10 insertions, 1 deletions
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test
index b102148472a..654bb8bb75d 100644
--- a/mysql-test/t/func_group.test
+++ b/mysql-test/t/func_group.test
@@ -794,6 +794,16 @@ drop table bug22555;
#
+# Bug #21976: Unnecessary warning with count(decimal)
+#
+
+create table t1 (a decimal(20));
+insert into t1 values (12345678901234567890);
+select count(a) from t1;
+select count(distinct a) from t1;
+drop table t1;
+
+#
# Bug #23184: SELECT causes server crash
#
CREATE TABLE t1 (a INT, b INT);
@@ -817,5 +827,4 @@ SELECT a,AVG(DISTINCT b) AS average FROM t1 GROUP BY a HAVING average > 50;
DROP TABLE t1;
-###
--echo End of 5.0 tests