diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 1d3c0ff1dd4..a2a840208da 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -2539,7 +2539,10 @@ EOF ; print OUT "nonguarded\n" if $instance->{'nonguarded'}; - print OUT "log-output=FILE\n" if $instance->{'old_log_format'}; + if ( $mysql_version_id >= 50100 ) + { + print OUT "log-output=FILE\n" if $instance->{'old_log_format'}; + } print OUT "\n"; }