1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Add more checks to determine if test can be skipped becuase the feature it uses are not supported.

Check for big-test, ndb-extra, require_manager and binlog format row/stmt
This commit is contained in:
unknown
2006-06-11 15:49:34 +02:00
parent 312c46933a
commit 36495cba3b
2 changed files with 73 additions and 0 deletions

View File

@ -329,6 +329,8 @@ our $file_ndb_testrun_log;
our @data_dir_lst;
our $used_binlog_format;
######################################################################
#
# Function declarations
@ -707,6 +709,21 @@ sub command_line_setup () {
}
}
# --------------------------------------------------------------------------
# Find out type of logging that are being used
# --------------------------------------------------------------------------
# NOTE if the default binlog format is changed, this has to be changed
$used_binlog_format= "stmt";
foreach my $arg ( @opt_extra_mysqld_opt )
{
if ( defined mtr_match_substring($arg,"binlog-format=row"))
{
$used_binlog_format= "row";
}
}
mtr_report("Using binlog format '$used_binlog_format'");
# --------------------------------------------------------------------------
# Set the "var/" directory, as it is the base for everything else
# --------------------------------------------------------------------------