mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
30ca82bc98
make table delay key write to speed things up a bit
12 lines
240 B
Text
12 lines
240 B
Text
drop table if exists t1;
|
|
create table t1(n int not null, key(n)) delay_key_write = 1;
|
|
let $1=10000;
|
|
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;
|