1
eval create table t1 (a bigint unsigned not null, primary key(a)) engine=$engine
3
partition pa1 max_rows=20 min_rows=2,
4
partition pa2 max_rows=30 min_rows=3,
5
partition pa3 max_rows=30 min_rows=4,
6
partition pa4 max_rows=40 min_rows=2);
8
insert into t1 values (18446744073709551615), (0xFFFFFFFFFFFFFFFE), (18446744073709551613), (18446744073709551612), (1), (2), (65535);
10
select * from t1 where a=-2;
11
delete from t1 where a=-2;
13
select * from t1 where a=18446744073709551615;
14
delete from t1 where a=18446744073709551615;
18
eval create table t2 (a bigint unsigned not null, primary key(a)) engine=$engine
19
partition by key (a) partitions 10;
21
insert into t2 values (18446744073709551615), (0xFFFFFFFFFFFFFFFE), (18446744073709551613), (18446744073709551612);
23
select * from t2 where a=18446744073709551615;
24
delete from t2 where a=18446744073709551615;
28
--echo $maxrows inserts;
32
eval insert into t2 values ($count);
36
select count(*) from t2;
39
eval create table t3 (a bigint not null, primary key(a)) engine=$engine
40
partition by key (a) partitions 10;
42
insert into t3 values (9223372036854775807), (9223372036854775806), (9223372036854775805), (9223372036854775804), (-9223372036854775808), (-9223372036854775807), (1), (-1), (0);
44
select * from t3 where a=9223372036854775806;
45
delete from t3 where a=9223372036854775806;