mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
Make use of $opt_mem" and let 4.1 allow --vardir to be set. Still relies on the var/ directory
but having it on tmpfs gives a big speedup. mysql-test/mysql-test-run.pl: Make use of opt_mem and let 4.1 allow vardir to be set. Still relies on the var/ directory but having it on tmpfs gives a big speedup.
This commit is contained in:
parent
9ba3b3f2ef
commit
2430d73ce6
1 changed files with 4 additions and 1 deletions
|
@ -754,7 +754,10 @@ sub command_line_setup () {
|
|||
elsif ( $mysql_version_id < 50000 )
|
||||
{
|
||||
# --vardir was specified
|
||||
mtr_error("--vardir option not supported until MySQL 5.0");
|
||||
# It's only supported in 4.1 as a symlink from var/
|
||||
# by setting up $opt_mem that will be created
|
||||
$opt_mem= $opt_vardir;
|
||||
$opt_vardir= undef;
|
||||
}
|
||||
|
||||
$path_vardir_trace= $opt_vardir;
|
||||
|
|
Loading…
Reference in a new issue