Menu

#31 configure --enable-bzip etc. doesn't fully enable compression code

None
closed-fixed
nobody
None
5
2016-09-05
2016-09-05
No

the compression-related code in dump/tape.c is under #ifdef HAVE_BLOCK_TRANSFORMATION, but nothing sets that. dump thus claims to compress, the file header is set up for compression but nothing is in fact compressed; restore subsequently fails to restore as it can't decompress.

the attached trivial patch adjusts transformation.h to define HAVE_BLOCK_TRANSFORMATION when one of the relevant HAVE_xyz defines are found.

1 Attachments

Discussion

  • Mike Frysinger

    Mike Frysinger - 2016-09-05
    • status: open --> closed-fixed
    • Group: -->
     
  • Mike Frysinger

    Mike Frysinger - 2016-09-05

    thanks, added in commit 58c6cedc0c628e5f6f6e47285e7e5867fe7827e0

     

Log in to post a comment.

MongoDB Logo MongoDB