You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- handle the (default!) undefined case;
- really treat it as a number (cause that's the way it is defined everywhere in "check_architecture", and it is compared to a number too);
- (try to) avoid extra ops by reordering the operations.
Copy file name to clipboardExpand all lines: mysqltuner.pl
+1-1
Original file line number
Diff line number
Diff line change
@@ -763,7 +763,7 @@ sub mysql_stats {
763
763
764
764
# Memory usage
765
765
infoprint "Total buffers: ".hr_bytes($mycalc{'server_buffers'})." global + ".hr_bytes($mycalc{'per_thread_buffers'})." per thread ($myvar{'max_connections'} max threads)\n";
766
-
if ($mycalc{'total_possible_used_memory'} > 2*1024*1024*1024 && $archeq 32) {
0 commit comments