Commit 1cbf67cd authored by marko's avatar marko

branches/zip: btr_copy_zblob_prefix(): Print d_stream->msg on decompression

failure.
parent 7ac6a343
...@@ -4415,9 +4415,9 @@ btr_copy_zblob_prefix( ...@@ -4415,9 +4415,9 @@ btr_copy_zblob_prefix(
fprintf(stderr, fprintf(stderr,
" InnoDB: inflate() of" " InnoDB: inflate() of"
" compressed BLOB" " compressed BLOB"
" page %lu space %lu returned %d\n", " page %lu space %lu returned %d (%s)\n",
(ulong) page_no, (ulong) space_id, (ulong) page_no, (ulong) space_id,
err); err, d_stream->msg);
case Z_BUF_ERROR: case Z_BUF_ERROR:
goto end_of_blob; goto end_of_blob;
} }
......
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