Skip to content

Commit

Permalink
Merge pull request #682 from jmrenouard/master
Browse files Browse the repository at this point in the history
Not working on MariaDB 10.6.10 on Ubuntu 18 #620
  • Loading branch information
jmrenouard committed Jun 22, 2023
2 parents 84511a3 + 6cd1c41 commit 8ac37c1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mysqltuner.pl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env perl
# mysqltuner.pl - Version 2.1.8
# mysqltuner.pl - Version 2.1.9
# High Performance MySQL Tuning Script
# Copyright (C) 2006-2023 Major Hayden - [email protected]
# Copyright (C) 2015-2023 Jean-Marie Renouard - [email protected]
Expand Down Expand Up @@ -57,7 +57,7 @@ package main;
#use Env;

# Set up a few variables for use in the script
my $tunerversion = "2.1.8";
my $tunerversion = "2.1.9";
my ( @adjvars, @generalrec );

# Set defaults
Expand Down Expand Up @@ -3060,6 +3060,8 @@ sub calculations {
# InnoDB
$myvar{'innodb_log_files_in_group'} = 1
unless defined( $myvar{'innodb_log_files_in_group'} );
$myvar{'innodb_log_files_in_group'} = 1 if $myvar{'innodb_log_files_in_group'} == 0;

$myvar{"innodb_buffer_pool_instances"} = 1
unless defined( $myvar{'innodb_buffer_pool_instances'} );
if ( $myvar{'have_innodb'} eq "YES" ) {
Expand Down Expand Up @@ -7097,7 +7099,7 @@ sub which {
=head1 NAME
MySQLTuner 2.1.8 - MySQL High Performance Tuning Script
MySQLTuner 2.1.9 - MySQL High Performance Tuning Script
=head1 IMPORTANT USAGE GUIDELINES
Expand Down

0 comments on commit 8ac37c1

Please sign in to comment.