summaryrefslogtreecommitdiff
path: root/mysql-test/t/count_distinct.test
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-02-10 18:01:29 +0200
committerunknown <monty@mashka.mysql.fi>2003-02-10 18:01:29 +0200
commit363fd89b92de2fc58e7910f7a27684308656ebda (patch)
treed977a5ffe2470f063019a9956fa890fab52c2899 /mysql-test/t/count_distinct.test
parent96273457dd172291892b279c420a770e64e0a5a3 (diff)
parentee189173cbd26b80bfa1236473f954f49680f2fc (diff)
downloadmariadb-git-363fd89b92de2fc58e7910f7a27684308656ebda.tar.gz
merge
BitKeeper/etc/ignore: auto-union BitKeeper/deleted/.del-configure.in~ac795a92c8fe049c: Auto merged include/my_sys.h: Auto merged mysql-test/mysql-test-run.sh: Auto merged mysql-test/t/count_distinct.test: Auto merged sql/ha_innodb.cc: Auto merged sql/item_sum.cc: Auto merged sql/sql_acl.cc: Auto merged
Diffstat (limited to 'mysql-test/t/count_distinct.test')
-rw-r--r--mysql-test/t/count_distinct.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/count_distinct.test b/mysql-test/t/count_distinct.test
index 239edea2422..1f0404876cb 100644
--- a/mysql-test/t/count_distinct.test
+++ b/mysql-test/t/count_distinct.test
@@ -46,3 +46,12 @@ insert into t1 values (1);
create table t2 (f1 int,f2 int);
select t1.f1,count(distinct t2.f2),count(distinct 1,NULL) from t1 left join t2 on t1.f1=t2.f1 group by t1.f1;
drop table t1,t2;
+
+
+#
+# Empty tables
+#
+create table t1 (f int);
+select count(distinct f) from t1;
+drop table t1;
+