mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Allow Windows absolute paths in N:\ formatfor the --vardir option
This commit is contained in:
@ -1442,7 +1442,7 @@ sub command_line_setup {
|
|||||||
|
|
||||||
# We make the path absolute, as the server will do a chdir() before usage
|
# We make the path absolute, as the server will do a chdir() before usage
|
||||||
unless ( $opt_vardir =~ m,^/, or
|
unless ( $opt_vardir =~ m,^/, or
|
||||||
(IS_WINDOWS and $opt_vardir =~ m,^[a-z]:/,i) )
|
(IS_WINDOWS and $opt_vardir =~ m,^[a-z]:[/\\],i) )
|
||||||
{
|
{
|
||||||
# Make absolute path, relative test dir
|
# Make absolute path, relative test dir
|
||||||
$opt_vardir= "$glob_mysql_test_dir/$opt_vardir";
|
$opt_vardir= "$glob_mysql_test_dir/$opt_vardir";
|
||||||
|
Reference in New Issue
Block a user