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