mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
Bug #42590 MTR v1 crashes under Active State Perl
Perl crashes when MTR 2 tries to start v1 Replaced require with system()
This commit is contained in:
parent
cb73100105
commit
b6ece6aafa
1 changed files with 2 additions and 2 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue