summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_group.test
diff options
context:
space:
mode:
authorramil/ram@ramil.myoffice.izhnet.ru <>2007-03-29 12:04:02 +0500
committerramil/ram@ramil.myoffice.izhnet.ru <>2007-03-29 12:04:02 +0500
commit8c5b59e416e17c58f6921de880cb28b882f6c825 (patch)
treec06b51b0612f82fa74e9b4d822031a59e6f3b03d /mysql-test/t/func_group.test
parent0d65ee796ba6876a6a66dc3ab0c906c8b7ea03fd (diff)
parent294ae90d9c8e997f481a982fde926203864b4591 (diff)
downloadmariadb-git-8c5b59e416e17c58f6921de880cb28b882f6c825.tar.gz
Merge mysql.com:/home/ram/work/b21976/my50-b21976
into mysql.com:/home/ram/work/b21976/my51-b21976
Diffstat (limited to 'mysql-test/t/func_group.test')
-rw-r--r--mysql-test/t/func_group.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test
index 4989199f3aa..b3b663c739d 100644
--- a/mysql-test/t/func_group.test
+++ b/mysql-test/t/func_group.test
@@ -801,6 +801,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);