Commit c4097461 authored by Magnus Svensson's avatar Magnus Svensson

Check that the default-storage-engine used by test is a supported engine

parent 971c8829
......@@ -536,6 +536,26 @@ sub optimize_cases {
}
}
}
# =======================================================
# Check that engine selected by
# --default-storage-engine=<engine> is supported
# =======================================================
foreach my $opt ( @{$tinfo->{master_opt}} ) {
my $default_engine=
mtr_match_prefix($opt, "--default-storage-engine=");
if (defined $default_engine){
if ( ! exists $::mysqld_variables{$default_engine} )
{
$tinfo->{'skip'}= 1;
$tinfo->{'comment'}=
"'$default_engine' not supported";
}
}
}
}
}
......
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