Skip to content

Commit 198e0d5

Browse files
authored
Merge pull request #780 from vlatan/physical-memory
Fix wrong physical memory
2 parents a76ec6a + 0dc9caa commit 198e0d5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mysqltuner.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,6 @@ sub os_setup {
595595
chomp($physical_memory);
596596
chomp($swap_memory);
597597
chomp($os);
598-
$physical_memory=$opt{forcemem} if (defined($opt{forcemem}) and $opt{forcemem} gt 0);
599598
$result{'OS'}{'OS Type'} = $os;
600599
$result{'OS'}{'Physical Memory'}{'bytes'} = $physical_memory;
601600
$result{'OS'}{'Physical Memory'}{'pretty'} = hr_bytes($physical_memory);

0 commit comments

Comments
 (0)