#At file:///home/bm136801/mysql/bug42590/
2750 Bjorn Munch 2009-02-10
Bug #42590 MTR v1 crashes under Active State Perl
Perl crashes when MTR 2 tries to start v1
Replaced require with system()
modified:
mysql-test/mysql-test-run.pl
=== modified file 'mysql-test/mysql-test-run.pl'
--- a/mysql-test/mysql-test-run.pl 2009-02-07 15:29:37 +0000
+++ b/mysql-test/mysql-test-run.pl 2009-02-10 08:45:09 +0000
@@ -45,8 +45,8 @@ BEGIN {
print "=======================================================\n";
print " WARNING: Using mysql-test-run.pl version 1! \n";
print "=======================================================\n";
- require "lib/v1/mysql-test-run.pl";
- exit(1);
+ # Should use exec() here on *nix but this appears not to work on Windows
+ exit(system($^X, "lib/v1/mysql-test-run.pl", @ARGV) >> 8);
}
elsif ( $version == 2 )
{
| Thread |
|---|
| • bzr commit into mysql-5.1-bugteam branch (Bjorn.Munch:2750) Bug#42590 | Bjorn Munch | 10 Feb 2009 |