mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
1915d11bb4
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
12 lines
238 B
Text
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;
|