1
# do a lot of longblob insertions up to 32MB-4 in size with a random key
2
--source include/big_test.inc
4
SET DEFAULT_STORAGE_ENGINE='tokudb';
7
drop table if exists t;
10
create table t (id int not null primary key, v longblob not null);
12
select @@max_allowed_packet into @my_max_allowed_packet;
14
set global max_allowed_packet=100000000;
17
connect(conn1,localhost,root,,);
21
let $maxblob=32*1024*1024;
23
eval insert ignore into t (id,v) values (floor(rand()*$maxid),repeat('a',($maxblob-4)*rand()));
29
set global max_allowed_packet=@my_max_allowed_packet;