mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
Print the newly found version number in human readable format
This commit is contained in:
parent
c3997a6640
commit
7ec1a292a1
1 changed files with 3 additions and 2 deletions
|
@ -1180,9 +1180,10 @@ sub check_mysqld_features () {
|
|||
# Look for version
|
||||
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;
|
||||
print "mysql_version_id: $mysql_version_id\n";
|
||||
#print "mysql_version_id: $mysql_version_id\n";
|
||||
mtr_report("MySQL Version $1.$2.$3");
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue