Merge lp:~percona-toolkit-dev/percona-toolkit/pt-mysql-summary-Blank-InnoDB-Section-for-5.6-1254233 into lp:percona-toolkit/2.2
Proposed by
Frank Cizmich
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Daniel Nichter | ||||
Approved revision: | 599 | ||||
Merged at revision: | 601 | ||||
Proposed branch: | lp:~percona-toolkit-dev/percona-toolkit/pt-mysql-summary-Blank-InnoDB-Section-for-5.6-1254233 | ||||
Merge into: | lp:percona-toolkit/2.2 | ||||
Diff against target: |
33 lines (+9/-2) 2 files modified
bin/pt-mysql-summary (+2/-2) t/pt-mysql-summary/pt-mysql-summary.t (+7/-0) |
||||
To merge this branch: | bzr merge lp:~percona-toolkit-dev/percona-toolkit/pt-mysql-summary-Blank-InnoDB-Section-for-5.6-1254233 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Nichter | Approve | ||
Review via email: mp+220870@code.launchpad.net |
Description of the change
pt-mysql-summary stopped printing InnoDB section for MySQL 5.6
This was because it checked for the "have_innodb" variable which was removed in 5.6
Solved by also checking for "innodb_version".
To post a comment you must log in.
Does this work because in the branch we have:
if [ "${have_innodb}" = "YES" ] || [ -n "${innodb_version}" ]; then
which is not same as:
if [[ "${have_innodb}" = "YES" || "${innodb_ver}" > "5.6.1" ]]; then
i.e. in branch we only check if innodb_version is set, but in Michael's patch we check if it's > 5.6.1.