MariaDB GTID mode #272
This commit is contained in:
parent
c2f2d6591c
commit
eac905b632
1 changed files with 6 additions and 3 deletions
|
@ -525,9 +525,9 @@ sub validate_tuner_version {
|
|||
debugprint "$httpcli is available.";
|
||||
|
||||
debugprint
|
||||
"$httpcli -e timestamping=off -T 5 -O - '$url' 2>$devnull| grep 'my \$tunerversion'| cut -d\\\" -f2";
|
||||
"$httpcli -e timestamping=off -t 1 -T 5 -O - '$url' 2>$devnull| grep 'my \$tunerversion'| cut -d\\\" -f2";
|
||||
$update =
|
||||
`$httpcli -e timestamping=off -T 5 -O - '$url' 2>$devnull| grep 'my \$tunerversion'| cut -d\\\" -f2`;
|
||||
`$httpcli -e timestamping=off -t 1 -T 5 -O - '$url' 2>$devnull| grep 'my \$tunerversion'| cut -d\\\" -f2`;
|
||||
chomp($update);
|
||||
compare_tuner_version($update);
|
||||
return;
|
||||
|
@ -1025,6 +1025,10 @@ sub get_all_vars {
|
|||
$myvar{'have_innodb'} = "NO";
|
||||
}
|
||||
|
||||
# Support GTID MODE FOR MARIADB
|
||||
# Issue MariaDB GTID mode #272
|
||||
$myvar{'gtid_mode'}=$myvar{'gtid_strict_mode'} if (defined($myvar{'gtid_strict_mode'}));
|
||||
|
||||
$myvar{'have_threadpool'} = "NO";
|
||||
if ( defined( $myvar{'thread_pool_size'} )
|
||||
and $myvar{'thread_pool_size'} > 0 )
|
||||
|
@ -2466,7 +2470,6 @@ sub mysql_stats {
|
|||
}
|
||||
|
||||
# Memory usage
|
||||
|
||||
infoprint "Physical Memory : " . hr_bytes($physical_memory);
|
||||
infoprint "Max MySQL memory : " . hr_bytes( $mycalc{'max_peak_memory'} );
|
||||
infoprint "Other process memory: " . hr_bytes( get_other_process_memory() );
|
||||
|
|
Loading…
Reference in a new issue