mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
WL#3754 Fix for mtr, added support personal configuration for test cases
This commit is contained in:
@@ -749,6 +749,16 @@ sub collect_one_test_case {
|
|||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
process_opts_file($tinfo, "$testdir/$tname-slave.opt", 'slave_opt');
|
process_opts_file($tinfo, "$testdir/$tname-slave.opt", 'slave_opt');
|
||||||
|
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
# Check for test specific config file
|
||||||
|
#-----------------------------------------------------------------------
|
||||||
|
my $test_cnf_file= "$testdir/$tname.cnf";
|
||||||
|
if ( -f $test_cnf_file) {
|
||||||
|
# Specifies the configuration file to use for this test
|
||||||
|
$tinfo->{'template_path'}= $test_cnf_file;
|
||||||
|
}
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
# master sh
|
# master sh
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
@@ -97,5 +97,6 @@ COUNT(*) SUM(a) b
|
|||||||
100 64100 master1
|
100 64100 master1
|
||||||
100 64000 slave
|
100 64000 slave
|
||||||
|
|
||||||
DELETE FROM t1;
|
DROP TABLE t1;
|
||||||
|
DROP TABLE t1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user