mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
into pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-maint2
This commit is contained in:
@ -416,7 +416,7 @@ sub post_fix_mysql_cluster_section {
|
|||||||
|
|
||||||
# Add a [mysl_cluster.<suffix>] section for each
|
# Add a [mysl_cluster.<suffix>] section for each
|
||||||
# defined [cluster_config.<suffix>] section
|
# defined [cluster_config.<suffix>] section
|
||||||
foreach my $group ( $config->like('cluster_config.[0-9]') )
|
foreach my $group ( $config->like('cluster_config\.\w*') )
|
||||||
{
|
{
|
||||||
my @urls;
|
my @urls;
|
||||||
# Generate ndb_connectstring for this cluster
|
# Generate ndb_connectstring for this cluster
|
||||||
@ -497,7 +497,7 @@ sub run_generate_sections_from_cluster_config {
|
|||||||
my @options= ('ndb_mgmd', 'ndbd',
|
my @options= ('ndb_mgmd', 'ndbd',
|
||||||
'mysqld', 'ndbapi');
|
'mysqld', 'ndbapi');
|
||||||
|
|
||||||
foreach my $group ( $config->like('cluster_config.[0-9]') ) {
|
foreach my $group ( $config->like('cluster_config\.\w*') ) {
|
||||||
|
|
||||||
# Keep track of current index per process type
|
# Keep track of current index per process type
|
||||||
my %idxes;
|
my %idxes;
|
||||||
@ -580,7 +580,7 @@ sub new_config {
|
|||||||
|
|
||||||
|
|
||||||
$self->run_section_rules($config,
|
$self->run_section_rules($config,
|
||||||
'cluster_config.[0-9]',
|
'cluster_config\.\w*',
|
||||||
@cluster_config_rules);
|
@cluster_config_rules);
|
||||||
$self->run_generate_sections_from_cluster_config($config);
|
$self->run_generate_sections_from_cluster_config($config);
|
||||||
|
|
||||||
|
@ -722,6 +722,15 @@ 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
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
@ -15,3 +15,6 @@ rpl_innodb_bug28430 : Bug #32247 2007-11-27 mats Test reports wrong value o
|
|||||||
rpl_view : Bug#32654: rpl_view.test fails randomly
|
rpl_view : Bug#32654: rpl_view.test fails randomly
|
||||||
rpl_ndb_multi : Bug#30751: rpl_ndb_multi missing row in output
|
rpl_ndb_multi : Bug#30751: rpl_ndb_multi missing row in output
|
||||||
rpl_log_pos : Bug#8693 Test 'rpl_log_pos' fails sometimes
|
rpl_log_pos : Bug#8693 Test 'rpl_log_pos' fails sometimes
|
||||||
|
rpl_circular_for_4_hosts : Needs updated config
|
||||||
|
rpl_ndb_circular_2ch : Needs updated config
|
||||||
|
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
--config-file-template=../rpl_1slave_base.cnf
|
|
||||||
|
|
2
mysql-test/suite/rpl/t/rpl_000015.cnf
Normal file
2
mysql-test/suite/rpl/t/rpl_000015.cnf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
!include ../rpl_1slave_base.cnf
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
-O max_binlog_size=4096
|
|
||||||
--config-file-template=../rpl_1slave_base.cnf
|
|
||||||
|
|
6
mysql-test/suite/rpl/t/rpl_rotate_logs.cnf
Normal file
6
mysql-test/suite/rpl/t/rpl_rotate_logs.cnf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
!include ../rpl_1slave_base.cnf
|
||||||
|
|
||||||
|
[mysqld.1]
|
||||||
|
max_binlog_size=4096
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user