• unknown's avatar
    Improve the reading of .pid files from var/run · aa8c830d
    unknown authored
     - Only read *.pid
     - Only allow it to contain a number 
    
    
    mysql-test/lib/mtr_io.pl:
      Check that the value read from pidfile is a valid number consisting only of digits
    mysql-test/lib/mtr_process.pl:
      Only process .pid files in var/run dir and print a warning if other files are found there.
    aa8c830d
mtr_io.pl 4.47 KB