mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
If more than one parallel run, use a subdir of the selected tmpdir
This commit is contained in:
@ -892,6 +892,11 @@ sub command_line_setup {
|
||||
$opt_tmpdir= "$opt_vardir/tmp" unless $opt_tmpdir;
|
||||
$opt_tmpdir =~ s,/+$,,; # Remove ending slash if any
|
||||
|
||||
# If more than one parallel run, use a subdir of the selected tmpdir
|
||||
if ($thread_num && $opt_parallel > 1) {
|
||||
$opt_tmpdir.= "/".$thread_num;
|
||||
}
|
||||
|
||||
# --------------------------------------------------------------------------
|
||||
# fast option
|
||||
# --------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user