Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
1e5c7331
Commit
1e5c7331
authored
Apr 26, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal:/home/bk/mysql-5.1-rpl
into pilot.mysql.com:/data/msvensson/mysql/mysql-5.1-rpl
parents
d8b5c50e
fd531388
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
81 additions
and
11 deletions
+81
-11
mysql-test/include/circular_rpl_for_4_hosts_init.inc
mysql-test/include/circular_rpl_for_4_hosts_init.inc
+1
-1
mysql-test/lib/mtr_cases.pm
mysql-test/lib/mtr_cases.pm
+10
-0
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result
+1
-1
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-master.opt
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-master.opt
+0
-1
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-slave.opt
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-slave.opt
+0
-1
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.cnf
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.cnf
+27
-0
mysql-test/suite/rpl_ndb/r/rpl_ndb_circular_2ch.result
mysql-test/suite/rpl_ndb/r/rpl_ndb_circular_2ch.result
+2
-1
mysql-test/suite/rpl_ndb/t/disabled.def
mysql-test/suite/rpl_ndb/t/disabled.def
+1
-1
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-master.opt
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-master.opt
+0
-1
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-slave.opt
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-slave.opt
+0
-1
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.cnf
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.cnf
+35
-0
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test
+4
-3
No files found.
mysql-test/include/circular_rpl_for_4_hosts_init.inc
View file @
1e5c7331
...
...
@@ -18,7 +18,7 @@
--
source
include
/
master
-
slave
.
inc
#
# Set up circular ring by schema A->B->C-D->A
# Set up circular ring by schema A->B->C-
>
D->A
#
--
connection
slave
...
...
mysql-test/lib/mtr_cases.pm
View file @
1e5c7331
...
...
@@ -753,6 +753,16 @@ sub collect_one_test_case {
# Add slave opts, list of extra option only for slave
# ----------------------------------------------------------------------
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
;
}
# ----------------------------------------------------------------------
# Check for test specific config file
...
...
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result
View file @
1e5c7331
*** Set up circular ring by schema A->B->C-D->A ***
*** Set up circular ring by schema A->B->C-
>
D->A ***
stop slave;
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
reset master;
...
...
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-master.opt
deleted
100644 → 0
View file @
d8b5c50e
--slave-num=3 --log-slave-updates --innodb
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts-slave.opt
deleted
100644 → 0
View file @
d8b5c50e
--log-slave-updates --innodb
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.cnf
0 → 100644
View file @
1e5c7331
!include ../my.cnf
[mysqld.1]
log-slave-updates
innodb
[mysqld.2]
log-slave-updates
innodb
[mysqld.3]
log-slave-updates
innodb
[mysqld.4]
log-slave-updates
innodb
[ENV]
SLAVE_MYPORT1= @mysqld.3.port
SLAVE_MYSOCK1= @mysqld.3.socket
SLAVE_MYPORT2= @mysqld.4.port
SLAVE_MYSOCK2= @mysqld.4.socket
mysql-test/suite/rpl_ndb/r/rpl_ndb_circular_2ch.result
View file @
1e5c7331
...
...
@@ -97,5 +97,6 @@ COUNT(*) SUM(a) b
100 64100 master1
100 64000 slave
DELETE FROM t1;
DROP TABLE t1;
DROP TABLE IF EXISTS t1;
mysql-test/suite/rpl_ndb/t/disabled.def
View file @
1e5c7331
...
...
@@ -12,6 +12,6 @@
rpl_ndb_circular : Bug#33849 COMMIT event missing in cluster circular replication.
rpl_ndb_circular_simplex : Bug#33849 COMMIT event missing in cluster circular replication.
rpl_ndb_circular_2ch : Bug#33849 COMMIT event missing in cluster circular replication.
# the below testcase have been reworked to avoid the bug, test contains comment, keep bug open
rpl_ndb_circular_2ch : Needs updated config
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-master.opt
deleted
100644 → 0
View file @
d8b5c50e
--slave-num=2 --server-id=1 --log-bin -log-slave-updates
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch-slave.opt
deleted
100644 → 0
View file @
d8b5c50e
--server-id=2 --log-bin --log-slave-updates --skip-slave-start
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.cnf
0 → 100644
View file @
1e5c7331
!include ../my.cnf
[mysqld.1.1]
server-id= 1
log-bin
log-slave-updates
[mysqld.2.1]
server-id= 1
log-bin
log-slave-updates
[mysqld.1.slave]
server-id= 2
log-bin
log-slave-updates
skip-slave-start
[mysqld.2.slave]
server-id= 2
master-host= 127.0.0.1
master-port= @mysqld.2.1.port
master-password= @mysqld.2.1.#password
master-user= @mysqld.2.1.#user
master-connect-retry= 1
init-rpl-role= slave
log-bin
log-slave-updates
skip-slave-start
ndb_connectstring= @mysql_cluster.slave.ndb_connectstring
[ENV]
SLAVE_MYPORT1= @mysqld.2.slave.port
SLAVE_MYSOCK1= @mysqld.2.slave.socket
mysql-test/suite/rpl_ndb/t/rpl_ndb_circular_2ch.test
View file @
1e5c7331
...
...
@@ -170,10 +170,11 @@ SELECT COUNT(*), SUM(a), b FROM t1 WHERE c = 3 GROUP BY b ORDER BY b;
# Clean up
--
connection
master
D
ELETE
FROM
t1
;
D
ROP
TABLE
t1
;
--
connection
slave
let
$wait_condition
=
SELECT
COUNT
(
*
)
=
0
FROM
t1
;
--
source
include
/
wait_condition
.
inc
--
disable_warings
DROP
TABLE
IF
EXISTS
t1
;
--
enable_warnings
--
echo
# End of test 5.1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment