create temporary table t1 (a int not null, b varchar(400), c int, primary key (a), key (c)) engine=MEMORY comment="testing heaps" block_size=128;
13
14
--error 1234
15
create temporary table t1 (a int not null, b int, c varchar(400), primary key (a), key (b)) engine=MEMORY comment="testing heaps" block_size=4;
16
17
create temporary table t1 (a int not null, b int, c varchar(400), d varchar(400), primary key (a), key (b)) engine=MEMORY comment="testing heaps" block_size=24;
9
set @@session.max_heap_table_size=16*1024*1024*24;
10
11
create temporary table t1 (a int not null, b int, c varchar(400), d varchar(400), primary key (a), key (b)) engine=MEMORY comment="testing heaps";
18
12
19
13
--replace_column 1 # 6 # 7 # 8 # 9 # 10 #
20
14
show table status like "t1";
37
31
insert into t1 values (7,7,'0123',NULL), (8,8,'0123',NULL);