Commit 6907da23 authored by Jan Lindström's avatar Jan Lindström

Fix small error on LZMA compression error printout.

parent a60ea193
......@@ -493,9 +493,7 @@ fil_decompress_page(
ulint actual_size = 0;
ulint compression_alg = 0;
byte *in_buf;
#ifdef HAVE_LZO
ulint olen=0;
#endif
ulint ptype;
ut_ad(buf);
......@@ -649,7 +647,7 @@ fil_decompress_page(
"InnoDB: Corruption: Page is marked as compressed\n"
"InnoDB: but decompression read only %ld bytes.\n"
"InnoDB: size %lu len %lu\n",
olen, actual_size, len);
dst_pos, actual_size, len);
fflush(stderr);
ut_error;
......
......@@ -490,9 +490,7 @@ fil_decompress_page(
ulint actual_size = 0;
ulint compression_alg = 0;
byte *in_buf;
#ifdef HAVE_LZO
ulint olen=0;
#endif
ulint ptype;
ut_ad(buf);
......@@ -646,7 +644,7 @@ fil_decompress_page(
"InnoDB: Corruption: Page is marked as compressed\n"
"InnoDB: but decompression read only %ld bytes.\n"
"InnoDB: size %lu len %lu\n",
olen, actual_size, len);
dst_pos, actual_size, len);
fflush(stderr);
ut_error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment