Fix mysqlslap problems when running multiple tests in parallel, by setting

the mysqlslap lock directory to value of --tmpdir.
This commit is contained in:
knielsen@mysql.com 2006-01-02 14:14:48 +01:00
parent 0e41800311
commit 0d58795f7d

View file

@ -2503,7 +2503,8 @@ sub run_mysqltest ($) {
{
$cmdline_mysqlslap= "$exe_mysqlslap -uroot " .
"--port=$master->[0]->{'path_myport'} " .
"--socket=$master->[0]->{'path_mysock'} --password=";
"--socket=$master->[0]->{'path_mysock'} --password= " .
"--lock-directory=$opt_tmpdir";
if ( $opt_debug )
{
$cmdline_mysqlslap .=