Skip to content

Commit 285ba51

Browse files
authored
Merge pull request #528 from grooverdan/gtidmode_mariadb
mariadb gtid mode - base off gtid_current_pos.
2 parents d9e0004 + 9d1d19c commit 285ba51

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mysqltuner.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1121,9 +1121,9 @@ sub get_all_vars {
11211121
}
11221122

11231123
# Support GTID MODE FOR MARIADB
1124-
# Issue MariaDB GTID mode #272
1125-
$myvar{'gtid_mode'} = $myvar{'gtid_strict_mode'}
1126-
if ( defined( $myvar{'gtid_strict_mode'} ) );
1124+
# Issue MariaDB GTID mode #513
1125+
$myvar{'gtid_mode'} = 'ON'
1126+
if ( defined( $myvar{'gtid_current_pos'} ) and $myvar{'gtid_current_pos'} ne '' );
11271127

11281128
$myvar{'have_threadpool'} = "NO";
11291129
if ( defined( $myvar{'thread_pool_size'} )

0 commit comments

Comments
 (0)