We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbfb5a6 commit 07faba0Copy full SHA for 07faba0
storage/innobase/page/page0zip.cc
@@ -3270,7 +3270,6 @@ page_zip_validate_low(
3270
ibool sloppy) /*!< in: FALSE=strict,
3271
TRUE=ignore the MIN_REC_FLAG */
3272
{
3273
- page_zip_des_t temp_page_zip;
3274
ibool valid;
3275
3276
if (memcmp(page_zip->data + FIL_PAGE_PREV, page + FIL_PAGE_PREV,
@@ -3311,7 +3310,7 @@ page_zip_validate_low(
3311
3310
MEM_CHECK_DEFINED(page, srv_page_size);
3312
MEM_CHECK_DEFINED(page_zip->data, page_zip_get_size(page_zip));
3313
3314
- temp_page_zip = *page_zip;
+ page_zip_des_t temp_page_zip(*page_zip);
3315
valid = page_zip_decompress_low(&temp_page_zip, temp_page, TRUE);
3316
if (!valid) {
3317
fputs("page_zip_validate(): failed to decompress\n", stderr);
0 commit comments