| 1 |
--source include/have_innodb_max_16k.inc |
| 2 |
|
| 3 |
--echo # |
| 4 |
--echo # WL#8985: Refactor compressed BLOB code to facilitate partial |
| 5 |
--echo # fetch/update |
| 6 |
--echo # |
| 7 |
|
| 8 |
set global innodb_compression_level = 0; |
| 9 |
|
| 10 |
create table t1 (f1 int primary key, f2 blob) engine=innodb, row_format = compressed; |
| 11 |
insert into t1 values (1, repeat('-', 32000)); |
| 12 |
start transaction; |
| 13 |
update t1 set f2 = repeat('+', 64000) where f1 = 1; |
| 14 |
rollback; |
| 15 |
drop table t1; |
| 16 |
|
| 17 |
set global innodb_compression_level=default; |