Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export zlib version in a variable #184

Closed
wants to merge 1 commit into from
Closed

Conversation

dveeden
Copy link

@dveeden dveeden commented Dec 5, 2017

If innodb_log_compressed_pages is used one needs to be careful which zlib version in used when using InnoDB recovery. Among others this could impact backup/restore with a hot backup tool or a storage snapshot.

This patch exposes the zlib version.
Currently this is only exposed via:

storage/innobase/srv/srv0start.cc:      ib::info() << "Compressed tables use zlib " ZLIB_VERSION

Related: https://bugs.launchpad.net/percona-xtrabackup/+bug/1736139

@dveeden
Copy link
Author

dveeden commented Dec 5, 2017

This is what it does:

mysql> show global variables like 'version_compile_zlib';
+----------------------+--------+
| Variable_name        | Value  |
+----------------------+--------+
| version_compile_zlib | 1.2.11 |
+----------------------+--------+
1 row in set (0.01 sec)

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Please confirm this code is submitted under the terms of the OCA (Oracle's Contribution Agreement) you have previously signed by cutting and pasting the following text as a comment:
"I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it."
Thanks

@dveeden
Copy link
Author

dveeden commented Dec 6, 2017

I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

@mysql-oca-bot
Copy link

Hi, thank you for your contribution. Your code has been assigned to an internal queue. Please follow
bug http://bugs.mysql.com/bug.php?id=88825 for updates.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants