summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorMagnus Svensson <msvensson@mysql.com>2008-11-10 14:53:53 +0100
committerMagnus Svensson <msvensson@mysql.com>2008-11-10 14:53:53 +0100
commit63891d63d6f0690a7616ffbe47df30dd29ae3782 (patch)
treea4cb4bdbf57c744e5ad8bb7139dab80480b7d08a /mysql-test/mysql-test-run.pl
parent754ee2631081a96dfcff8546bfdcc230c69920b2 (diff)
downloadmariadb-git-63891d63d6f0690a7616ffbe47df30dd29ae3782.tar.gz
Bug#40193 mtr --record is currently broken in 5.1-rpl and 6.0-rpl
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 245b655767d..05534ed9680 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -4397,7 +4397,11 @@ sub start_mysqltest ($) {
{
mtr_add_arg($args, "--record");
- mtr_add_arg($args, "--result-file=%s", $tinfo->{record_file});
+ # When recording to a non existing result file
+ # the name of that file is in "record_file"
+ if ( defined $tinfo->{'record_file'} ) {
+ mtr_add_arg($args, "--result-file=%s", $tinfo->{record_file});
+ }
}
if ( $opt_client_gdb )