diff options
author | unknown <serg@sergbook.mysql.com> | 2003-02-10 12:01:47 +0100 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2003-02-10 12:01:47 +0100 |
commit | 7910884c5cbb59e89041506a12b9a3a567a97067 (patch) | |
tree | 6eed7ec5d21e357462e4f4346568d6c2c68654eb /mysql-test/r/count_distinct.result | |
parent | c89666266228fbfc9582a6b28b8dc93acb4acebe (diff) | |
download | mariadb-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.result | 5 |
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; |