mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
MDEV-22904 Compressed row format table tries to access freed blob
- This is a regression of MDEV-21174(56f6dab1d0e5a464ea49c1e5efb0032a0f5cea3e). InnoDB resets the BTR_EXTERN_LEN value at wrong offset.
This commit is contained in:
parent
471d7a9762
commit
815fc98732
1 changed files with 1 additions and 1 deletions
|
|
@ -7712,7 +7712,7 @@ btr_free_externally_stored_field(
|
|||
if (UNIV_LIKELY_NULL(block->page.zip.data)) {
|
||||
mach_write_to_4(field_ref + BTR_EXTERN_PAGE_NO,
|
||||
next_page_no);
|
||||
memset(field_ref + BTR_EXTERN_LEN, 0, 4);
|
||||
memset(field_ref + BTR_EXTERN_LEN + 4, 0, 4);
|
||||
page_zip_write_blob_ptr(block, rec, index,
|
||||
offsets, i, &mtr);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue