Bug #78108 mysqlpump decompression utilities not built
Submitted: 17 Aug 2015 14:41 Modified: 11 Nov 2015 2:40
Reporter: Paul DuBois Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: mysqldump Command-line Client Severity:S3 (Non-critical)
Version:5.7.8 OS:Any
Assigned to: CPU Architecture:Any

[17 Aug 2015 14:41] Paul DuBois
Description:
In the course of discussing with Marcin and Satish decompression commands to use for compressed mysqlpump output, it was brought up that there is supporting code for this in the source tree, but that it's not being built:

[Marcin}
I had to create tools to decompress these files, these are extra/*_decompress to not rely on any external sources (especially on Windows). We should strongly encourage to use them, as others will probably not work well (some headers issues? I couldn't debug why 7zip or other tools don't decompress my output).

[Paul]
I do not find that these are installed by "make install" after a build.
Actually, I do not find that they are even built. Is there some CMake option
that must be set?

[Marcin]
Should be built... Maybe Satish knows more.

[Satish]
Currently zlib/lz4_decompress.cc files are not even built. This change needs code changes to cmakelists.txt file. Please raise a bug. I will fix it as part of bug.

How to repeat:
See above.

The only think I find being built from the code in extra/ is liblz4_lib.a. That's not sufficient, we need some command-line interface to the decompression code.
[11 Nov 2015 2:40] Paul DuBois
Noted in 5.7.10, 5.8.0 changelogs.

MySQL distributions now include lz4_decompress and zlib_decompress
utilities that can be used to decompress mysqlpump output that was
compressed using the --compress-output=LZ4 and --compress-output=ZLIB
options.
[11 Nov 2015 14:13] Paul DuBois
Documentation for the new utilities is available here:

http://dev.mysql.com/doc/refman/5.7/en/lz4-decompress.html
http://dev.mysql.com/doc/refman/5.7/en/zlib-decompress.html