Skip to content

Commit 07faba0

Browse files
committed
MDEV-27924 fixup: cmake -DWITH_INNODB_EXTRA_DEBUG=ON
1 parent fbfb5a6 commit 07faba0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

storage/innobase/page/page0zip.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3270,7 +3270,6 @@ page_zip_validate_low(
32703270
ibool sloppy) /*!< in: FALSE=strict,
32713271
TRUE=ignore the MIN_REC_FLAG */
32723272
{
3273-
page_zip_des_t temp_page_zip;
32743273
ibool valid;
32753274

32763275
if (memcmp(page_zip->data + FIL_PAGE_PREV, page + FIL_PAGE_PREV,
@@ -3311,7 +3310,7 @@ page_zip_validate_low(
33113310
MEM_CHECK_DEFINED(page, srv_page_size);
33123311
MEM_CHECK_DEFINED(page_zip->data, page_zip_get_size(page_zip));
33133312

3314-
temp_page_zip = *page_zip;
3313+
page_zip_des_t temp_page_zip(*page_zip);
33153314
valid = page_zip_decompress_low(&temp_page_zip, temp_page, TRUE);
33163315
if (!valid) {
33173316
fputs("page_zip_validate(): failed to decompress\n", stderr);

0 commit comments

Comments
 (0)