2
# Test of count(distinct ..)
6
drop table if exists t1;
8
create table t1(n int not null, key(n)) delay_key_write = 1;
13
eval insert into t1 values($1);
14
eval insert into t1 values($1);
18
select count(distinct n) from t1;
19
explain extended select count(distinct n) from t1;