Clean up staff

This commit is contained in:
Jean-Marie RENOUARD 2018-03-30 15:44:40 +02:00
parent 7ae81143b9
commit 9cf48b52e0
2 changed files with 9 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# NAME # NAME
MySQLTuner 1.7.7 - MySQL High Performance Tuning Script MySQLTuner 1.7.8 - MySQL High Performance Tuning Script
# IMPORTANT USAGE GUIDELINES # IMPORTANT USAGE GUIDELINES

View file

@ -1848,9 +1848,15 @@ sub get_replication_status {
infoprint "Binlog format: " . $myvar{'binlog_format'}; infoprint "Binlog format: " . $myvar{'binlog_format'};
infoprint "XA support enabled: " . $myvar{'innodb_support_xa'}; infoprint "XA support enabled: " . $myvar{'innodb_support_xa'};
infoprint "Semi synchronous replication Master: " infoprint "Semi synchronous replication Master: "
. (defined($myvar{'rpl_semi_sync_master_enabled'})?$myvar{'rpl_semi_sync_master_enabled'}:'Not Activated'); . (
defined( $myvar{'rpl_semi_sync_master_enabled'} )
? $myvar{'rpl_semi_sync_master_enabled'}
: 'Not Activated' );
infoprint "Semi synchronous replication Slave: " infoprint "Semi synchronous replication Slave: "
. (defined($myvar{'rpl_semi_sync_slave_enabled'})?$myvar{'rpl_semi_sync_slave_enabled'}:'Not Activated'); . (
defined( $myvar{'rpl_semi_sync_slave_enabled'} )
? $myvar{'rpl_semi_sync_slave_enabled'}
: 'Not Activated' );
if ( scalar( keys %myrepl ) == 0 and scalar( keys %myslaves ) == 0 ) { if ( scalar( keys %myrepl ) == 0 and scalar( keys %myslaves ) == 0 ) {
infoprint "This is a standalone server"; infoprint "This is a standalone server";
return; return;