1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

A fix (bug #6475: Another server crash in 5.0.2

bug #6515: count(distinct...) crashes the server)
This commit is contained in:
ram@gw.mysql.r18.ru
2004-11-10 14:36:21 +04:00
parent a3f4bd28ac
commit 3e8e4d06b6
5 changed files with 64 additions and 11 deletions

View File

@@ -53,3 +53,10 @@ select count(distinct f) from t1;
count(distinct f)
0
drop table t1;
create table t1 (a char(3), b char(20), primary key (a, b));
insert into t1 values ('ABW', 'Dutch'), ('ABW', 'English');
select count(distinct a) from t1 group by b;
count(distinct a)
1
1
drop table t1;