mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug #49096 mtr: --mem option should be ignored on Windows
Ignored w/message in v1 and v2
This commit is contained in:
@ -905,6 +905,11 @@ sub command_line_setup () {
|
|||||||
mtr_report("Using default engine '$used_default_engine'")
|
mtr_report("Using default engine '$used_default_engine'")
|
||||||
if defined $used_default_engine;
|
if defined $used_default_engine;
|
||||||
|
|
||||||
|
if ($glob_win32 and defined $opt_mem) {
|
||||||
|
mtr_report("--mem not supported on Windows, ignored");
|
||||||
|
$opt_mem= undef;
|
||||||
|
}
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Check if we should speed up tests by trying to run on tmpfs
|
# Check if we should speed up tests by trying to run on tmpfs
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
|
@ -1080,6 +1080,11 @@ sub command_line_setup {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (IS_WINDOWS and defined $opt_mem) {
|
||||||
|
mtr_report("--mem not supported on Windows, ignored");
|
||||||
|
$opt_mem= undef;
|
||||||
|
}
|
||||||
|
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Check if we should speed up tests by trying to run on tmpfs
|
# Check if we should speed up tests by trying to run on tmpfs
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user