Open Cugar15 opened 5 years ago
need help +1 here
what plus here is parse_mysql_major_version still have same issue,so we can change here:
sub parse_mysql_major_version($) {
my $str = shift;
$str =~ /(\d+)\.(\d+)/;
my $strmajor = "$1.$2";
my $result = sprintf( '%03d%03d', $strmajor =~ m/(\d+)/g );
return $result;
}
I have same issue after changed all mha node and master
thanks for your answer~
Thanks for your comment!!😀
With Perl 5.24.1 in NodeUtil.pl the following error occurs:
The problem is the mysql version string which is: 5.7.22-ndb-7.6.6-log and the strict assignment of
A possible solution is to cut everything in the version string past the "-" like:
A better regex wizzard than me can probably do this much slicker :)
The overall question is: Are there more of these occurrences and how can they be found?
Cheers