Update needed for MariaDB 10.7 #594

This commit is contained in:
Jean-Marie Renouard 2022-06-15 15:11:34 +02:00
parent cf568a8f43
commit d2dcd7281d

View file

@ -1,8 +1,8 @@
#!/usr/bin/env perl #!/usr/bin/env perl
# mysqltuner.pl - Version 1.9.9 # mysqltuner.pl - Version 2.0.0
# High Performance MySQL Tuning Script # High Performance MySQL Tuning Script
# Copyright (C) 2006-2022 Major Hayden - major@mhtx.net # Copyright (C) 2006-2022 Major Hayden - major@mhtx.net
# Copyright (C) 2006-2022 Jean-Marie Renouard - jmrenouard@gmail.com # Copyright (C) 2015-2022 Jean-Marie Renouard - jmrenouard@gmail.com
# For the latest updates, please visit http://mysqltuner.pl/ # For the latest updates, please visit http://mysqltuner.pl/
# Git repository available at https://github.com/major/MySQLTuner-perl # Git repository available at https://github.com/major/MySQLTuner-perl
@ -57,7 +57,7 @@ use Cwd 'abs_path';
#use Env; #use Env;
# Set up a few variables for use in the script # Set up a few variables for use in the script
my $tunerversion = "1.9.9"; my $tunerversion = "2.0.0";
my ( @adjvars, @generalrec ); my ( @adjvars, @generalrec );
# Set defaults # Set defaults
@ -2188,6 +2188,7 @@ sub validate_mysql_version {
or mysql_version_eq( 10, 4 ) or mysql_version_eq( 10, 4 )
or mysql_version_eq( 10, 5 ) or mysql_version_eq( 10, 5 )
or mysql_version_eq( 10, 6 ) or mysql_version_eq( 10, 6 )
or mysql_version_eq( 10, 7 )
) )
{ {
goodprint "Currently running supported MySQL version " goodprint "Currently running supported MySQL version "
@ -6867,7 +6868,7 @@ __END__
=head1 NAME =head1 NAME
MySQLTuner 1.9.9 - MySQL High Performance Tuning Script MySQLTuner 2.0.0 - MySQL High Performance Tuning Script
=head1 IMPORTANT USAGE GUIDELINES =head1 IMPORTANT USAGE GUIDELINES