• unknown's avatar
    Improve the reading of .pid files from var/run · d10be7c1
    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.
    d10be7c1
mtr_io.pl 4.47 KB