Skip to content

Commit df81be2

Browse files
authored
Merge pull request #821 from nicjansma/master
--forcemem was being applied twice, the second time in bytes
2 parents 647e5c7 + 171999c commit df81be2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mysqltuner.pl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -608,8 +608,6 @@ sub os_setup {
608608
chomp($physical_memory);
609609
chomp($swap_memory);
610610
chomp($os);
611-
$physical_memory = $opt{forcemem}
612-
if ( defined( $opt{forcemem} ) and $opt{forcemem} gt 0 );
613611
$result{'OS'}{'OS Type'} = $os;
614612
$result{'OS'}{'Physical Memory'}{'bytes'} = $physical_memory;
615613
$result{'OS'}{'Physical Memory'}{'pretty'} = hr_bytes($physical_memory);

0 commit comments

Comments
 (0)