summaryrefslogtreecommitdiff
path: root/mysql-test/r/count_distinct.result
diff options
context:
space:
mode:
authorunknown <serg@sergbook.mysql.com>2003-02-10 12:01:47 +0100
committerunknown <serg@sergbook.mysql.com>2003-02-10 12:01:47 +0100
commit7910884c5cbb59e89041506a12b9a3a567a97067 (patch)
tree6eed7ec5d21e357462e4f4346568d6c2c68654eb /mysql-test/r/count_distinct.result
parentc89666266228fbfc9582a6b28b8dc93acb4acebe (diff)
downloadmariadb-git-7910884c5cbb59e89041506a12b9a3a567a97067.tar.gz
count(distint) on an empty table crash fixed
BitKeeper/etc/ignore: Added support-files/MacOSX/Description.plist support-files/MacOSX/Info.plist to the ignore list
Diffstat (limited to 'mysql-test/r/count_distinct.result')
-rw-r--r--mysql-test/r/count_distinct.result5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/count_distinct.result b/mysql-test/r/count_distinct.result
index 81976d268ef..16460580d6c 100644
--- a/mysql-test/r/count_distinct.result
+++ b/mysql-test/r/count_distinct.result
@@ -48,3 +48,8 @@ select t1.f1,count(distinct t2.f2),count(distinct 1,NULL) from t1 left join t2 o
f1 count(distinct t2.f2) count(distinct 1,NULL)
1 0 0
drop table t1,t2;
+create table t1 (f int);
+select count(distinct f) from t1;
+count(distinct f)
+0
+drop table t1;