| 1 |
--source include/have_debug.inc |
| 2 |
--source include/have_innodb_max_16k.inc |
| 3 |
|
| 4 |
--echo # |
| 5 |
--echo # WL#9263 Independent compress/decompress of BLOB pages |
| 6 |
--echo # |
| 7 |
|
| 8 |
set global innodb_compression_level = 0; |
| 9 |
|
| 10 |
create table t1 (f1 int primary key, f2 longblob) |
| 11 |
row_format=compressed, engine=innodb; |
| 12 |
|
| 13 |
insert into t1 values (1, repeat('+', 40000)); |
| 14 |
|
| 15 |
set debug = '+d,lob_insert_single_zstream'; |
| 16 |
|
| 17 |
insert into t1 values (2, repeat('~', 40000)); |
| 18 |
|
| 19 |
set debug = '-d,lob_insert_single_zstream'; |
| 20 |
|
| 21 |
select f1, right(f2, 40) from t1; |
| 22 |
|
| 23 |
--source include/kill_and_restart_mysqld.inc |
| 24 |
|
| 25 |
select f1, right(f2, 40) from t1; |
| 26 |
|
| 27 |
drop table t1; |
| 28 |
|
| 29 |
set global innodb_compression_level = default; |
| 30 |
|