Skip to content

Commit c5efa9d

Browse files
authored
Correct Inaccurate Message for MariaDB
Fixes reporting issues with innodb_redo_log_capacity on MariaDB, where it does not exist. Regression from pull request major#849.
1 parent 71f1509 commit c5efa9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mysqltuner.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6598,7 +6598,7 @@ sub mysql_innodb {
65986598
# InnoDB Log File Size / InnoDB Redo Log Capacity Recommendations
65996599
# For MySQL < 8.0.30, the recommendation is based on innodb_log_file_size and innodb_log_files_in_group.
66006600
# For MySQL >= 8.0.30, innodb_redo_log_capacity replaces the old system.
6601-
if ( mysql_version_ge( 8, 0, 30 ) ) {
6601+
if ( mysql_version_ge( 8, 0, 30 ) && defined $myvar{'innodb_redo_log_capacity'} ) {
66026602
# New recommendation logic for MySQL >= 8.0.30
66036603
infoprint "InnoDB Redo Log Capacity is set to " . hr_bytes($myvar{'innodb_redo_log_capacity'});
66046604

0 commit comments

Comments
 (0)