Bug #6515 count(distinct...) crashes the server
Submitted: 9 Nov 2004 8:35 Modified: 10 Nov 2004 11:30
Reporter: Ramil Kalimullin Email Updates:
Status: Closed Impact on me:
Category:MySQL Server Severity:S1 (Critical)
Version:5.0 OS:
Assigned to: Ramil Kalimullin CPU Architecture:Any

[9 Nov 2004 8:35] Ramil Kalimullin
server crashes on select count(distinct ...).
see how to repeat.

How to repeat:
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;
[10 Nov 2004 11:30] Ramil Kalimullin
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at