mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Generate a unique tmpdir for each server to avoid that they delete each others
temporary files at start up - see 'mysql_rm_tmp_tables' mysql-test/mysql-test-run.pl: Create the servers tempdir before starting
This commit is contained in:
@ -3816,6 +3816,10 @@ sub start_servers($) {
|
||||
mtr_error("Failed to copy system db to '$datadir'")
|
||||
unless -d $datadir;
|
||||
|
||||
# Create the servers tmpdir
|
||||
my $tmpdir= $mysqld->value('tmpdir');
|
||||
mkpath($tmpdir) unless -d $tmpdir;
|
||||
|
||||
# Write start of testcase to log file
|
||||
mark_log($mysqld->value('log-error'), $tinfo);
|
||||
|
||||
|
Reference in New Issue
Block a user