• Sergei Golubchik's avatar
    MDEV-7294 MTR does not use /dev/shm with a out-of-source build · 5d0d6cb1
    Sergei Golubchik authored
    mtr internally does the following:
    1. $default_vardir=....
    2. $opt_vardir=$default_vardir unless $opt_vardir;
    3. $opt_vardir=realpath $opt_vardir unless IS_WINDOWS
    4. if ($opt_vardir eq $default_vardir) { .... use /dev/shm ... }
    
    thus we have to realpath $default_datadir too, otherwise
    the comparison logic might be broken
    5d0d6cb1
mysql-test-run.pl 189 KB