Update mysqltuner.pl
Abbreviation have been added to the human_size function to display the size of partitions on a server with terabytes.
This commit is contained in:
		
							parent
							
								
									8cd40947ea
								
							
						
					
					
						commit
						ce6e8cdf8d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1019,7 +1019,7 @@ sub select_array { | |||
| sub human_size { | ||||
|     my ( $size, $n ) = ( shift, 0 ); | ||||
|     ++$n and $size /= 1024 until $size < 1024; | ||||
|     return sprintf "%.2f %s", $size, (qw[ bytes KB MB GB ])[$n]; | ||||
|     return sprintf "%.2f %s", $size, (qw[ bytes KB MB GB TB ])[$n]; | ||||
| } | ||||
| 
 | ||||
| # MySQL Request one | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Dmitry
						Dmitry