mariadb/mysql-test/t/bench_count_distinct.test
sasha@mysql.sashanet.com 1915d11bb4 BitKeeper/triggers/post-commit
do REAL_EMAIL magic
mysql-test/mysql-test-run.sh
    added show_failed_diffs
mysql-test/r/bench_count_distinct.result
    tired of waiting :-)
mysql-test/r/rpl000001.result
    new test results after implementing Monty's Hack (TM)
mysql-test/t/bench_count_distinct.test
    tired of waiting
mysql-test/t/rpl000001.test
    implemented Monty's Hack (TM) to kill a query in the middle of update
    without generating a table with 30,000 rows. This will also avoice the
    timing uncertainty
2001-04-12 13:46:19 -06:00

12 lines
238 B
Text

drop table if exists t1;
create table t1(n int not null, key(n)) delay_key_write = 1;
let $1=100;
while ($1)
{
eval insert into t1 values($1);
eval insert into t1 values($1);
dec $1;
}
select count(distinct n) from t1;
drop table t1;