summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorBjorn Munch <Bjorn.Munch@sun.com>2009-11-26 12:08:18 +0100
committerBjorn Munch <Bjorn.Munch@sun.com>2009-11-26 12:08:18 +0100
commit014e73cfd309f3a88070139b3fb655deb6d58dc1 (patch)
treef0947f64ba98af0cc24b23b554dd633cb3bd5b41 /mysql-test/mysql-test-run.pl
parent055728420fd7d3cba54560da325a534bd3c67b4b (diff)
parent8e19b78124f6820637bb408109269ad325dbabc9 (diff)
downloadmariadb-git-014e73cfd309f3a88070139b3fb655deb6d58dc1.tar.gz
merge 48250, 48918, 49096
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl7
1 files changed, 6 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index a1144f78617..307d5bb68d0 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -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
# --------------------------------------------------------------------------
@@ -3896,7 +3901,7 @@ sub check_expected_crash_and_restart {
foreach my $mysqld ( mysqlds() )
{
- next unless ( $mysqld->{proc} eq $proc );
+ next unless ( $mysqld->{proc} and $mysqld->{proc} eq $proc );
# Check if crash expected by looking at the .expect file
# in var/tmp