31 lines
657 B
Plaintext
31 lines
657 B
Plaintext
--source include/have_debug.inc
|
|
--source include/have_innodb_max_16k.inc
|
|
|
|
--echo #
|
|
--echo # WL#9263 Independent compress/decompress of BLOB pages
|
|
--echo #
|
|
|
|
set global innodb_compression_level = 0;
|
|
|
|
create table t1 (f1 int primary key, f2 longblob)
|
|
row_format=compressed, engine=innodb;
|
|
|
|
insert into t1 values (1, repeat('+', 40000));
|
|
|
|
set debug = '+d,lob_insert_single_zstream';
|
|
|
|
insert into t1 values (2, repeat('~', 40000));
|
|
|
|
set debug = '-d,lob_insert_single_zstream';
|
|
|
|
select f1, right(f2, 40) from t1;
|
|
|
|
--source include/kill_and_restart_mysqld.inc
|
|
|
|
select f1, right(f2, 40) from t1;
|
|
|
|
drop table t1;
|
|
|
|
set global innodb_compression_level = default;
|
|
|