purge_relay_logs: Redundant argument in sprintf at NodeUtil.pm line 195
Opened this issue · 1 comments
wtip commented
When running purge_relay_logs
on a Ubuntu 16.04 system with perl5 (revision 5 version 22 subversion 1)
I get Redundant argument in sprintf at /usr/share/perl5/MHA/NodeUtil.pm line 195.
Paul-Pech commented
This affects at least NodeUtil.pm and BinlogMananger.pm.
It can be circumvented by adding the following line to both files:
use warnings FATAL => 'all'; <------- this line is already there, don't touch it
no warnings qw( redundant ); <------- no warnings for redundant arguments