Print the newly found version number in human readable format

This commit is contained in:
unknown 2006-10-05 22:29:16 +02:00
parent c3997a6640
commit 7ec1a292a1

View file

@ -1180,9 +1180,10 @@ sub check_mysqld_features () {
# Look for version # Look for version
if ( $line =~ /^$exe_mysqld\s\sVer\s([0-9]*)\.([0-9]*)\.([0-9]*)/ ) if ( $line =~ /^$exe_mysqld\s\sVer\s([0-9]*)\.([0-9]*)\.([0-9]*)/ )
{ {
print "Major: $1 Minor: $2 Build: $3\n"; #print "Major: $1 Minor: $2 Build: $3\n";
$mysql_version_id= $1*10000 + $2*100 + $3; $mysql_version_id= $1*10000 + $2*100 + $3;
print "mysql_version_id: $mysql_version_id\n"; #print "mysql_version_id: $mysql_version_id\n";
mtr_report("MySQL Version $1.$2.$3");
} }
} }
else else