Commit b6ece6aa authored by Bjorn Munch's avatar Bjorn Munch

Bug #42590 MTR v1 crashes under Active State Perl

Perl crashes when MTR 2 tries to start v1
Replaced require with system()
parent cb731001
...@@ -45,8 +45,8 @@ BEGIN { ...@@ -45,8 +45,8 @@ BEGIN {
print "=======================================================\n"; print "=======================================================\n";
print " WARNING: Using mysql-test-run.pl version 1! \n"; print " WARNING: Using mysql-test-run.pl version 1! \n";
print "=======================================================\n"; print "=======================================================\n";
require "lib/v1/mysql-test-run.pl"; # Should use exec() here on *nix but this appears not to work on Windows
exit(1); exit(system($^X, "lib/v1/mysql-test-run.pl", @ARGV) >> 8);
} }
elsif ( $version == 2 ) elsif ( $version == 2 )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment