Changeset 4
- Timestamp:
- 06/01/07 01:19:01 (1 year ago)
- Files:
-
- mysqltuner.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
mysqltuner.pl
r3 r4 106 106 sub validate_mysql_version { 107 107 ($mysqlvermajor,$mysqlverminor) = $myvar{'version'} =~ /(\d)\.(\d)/; 108 if ($mysqlvermajor < 4 ) {109 print $bad." This script will not work with MySQL < 4. 0\n";108 if ($mysqlvermajor < 4 || ($mysqlvermajor == 4 && $mysqlverminor < 1)) { 109 print $bad." This script will not work with MySQL < 4.1\n"; 110 110 exit 0; 111 111 } elsif ($1 == 4 && $2 == 0) { … … 500 500 # BEGIN 'MAIN' 501 501 # --------------------------------------------------------------------------- 502 print "------------------------------------------------------------------------------\n". 503 $info." MySQL High-Performance Tuner - Major Hayden <major.hayden\@rackspace.com>\n"; 502 print $info." MySQL High-Performance Tuner - Major Hayden <major.hayden\@rackspace.com>\n"; 504 503 mysql_install_ok; # Check to see if MySQL is installed 505 504 os_setup; # Set up some OS variables … … 518 517 check_other_buffers; 519 518 performance_options; 520 print "------------------------------------------------------------------------------\n";521 519 # --------------------------------------------------------------------------- 522 520 # END 'MAIN'