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