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);
11
select * from t1 where a=-2;
12
delete from t1 where a=-2;
15
select * from t1 where a=18446744073709551615;
16
delete from t1 where a=18446744073709551615;
21
eval create table t2 (a bigint unsigned not null, primary key(a)) engine=$engine
22
partition by key (a) partitions 8;
24
insert into t2 values (18446744073709551615), (0xFFFFFFFFFFFFFFFE), (18446744073709551613), (18446744073709551612);
27
select * from t2 where a=18446744073709551615;
28
delete from t2 where a=18446744073709551615;
33
--echo $maxrows inserts;
37
eval insert into t2 values ($count);
41
select count(*) from t2;
44
eval create table t3 (a bigint not null, primary key(a)) engine=$engine
45
partition by key (a) partitions 7;
47
insert into t3 values (9223372036854775807), (9223372036854775806), (9223372036854775805), (9223372036854775804), (-9223372036854775808), (-9223372036854775807), (1), (-1), (0);
50
select * from t3 where a=9223372036854775806;
51
delete from t3 where a=9223372036854775806;