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
0959be0a
Commit
0959be0a
authored
Feb 04, 2011
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
BUG#59147: automerge mysql-5.1 into mysql-5.5.
parents
2004c252
0206a44c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
mysql-test/include/rpl_sync.inc
mysql-test/include/rpl_sync.inc
+1
-1
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result
+2
-2
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.test
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.test
+2
-2
No files found.
mysql-test/include/rpl_sync.inc
View file @
0959be0a
...
...
@@ -88,7 +88,7 @@ while ($_rpl_i) {
{
--
echo
Sync
IO
:
$_rpl_slave_io_running
;
Sync
SQL
:
$_rpl_slave_sql_running
}
--
let
$_rpl_slave_io_running
=
`SELECT IF('$_rpl_slave_io_running'
= 'Yes
', 1, '')`
--
let
$_rpl_slave_io_running
=
`SELECT IF('$_rpl_slave_io_running'
!= 'No
', 1, '')`
--
let
$_rpl_slave_sql_running
=
`SELECT IF('$_rpl_slave_sql_running' = 'Yes', 1, '')`
if
(
$_rpl_slave_io_running
)
{
...
...
mysql-test/suite/rpl/r/rpl_circular_for_4_hosts.result
View file @
0959be0a
...
...
@@ -121,11 +121,11 @@ Master D 12 D
* Remove wrong event from C and restore B->C->D *
include/stop_slave.inc
DELETE FROM t1 WHERE a = 6;
START SLAVE;
include/start_slave.inc
RESET MASTER;
RESET SLAVE;
include/rpl_change_topology.inc [new topology=1->2->3->4->1]
START SLAVE;
include/start_slave.inc
include/rpl_sync.inc
* Check data inserted before restoring schema A->B->C->D->A *
...
...
mysql-test/suite/rpl/t/rpl_circular_for_4_hosts.test
View file @
0959be0a
...
...
@@ -178,7 +178,7 @@ SELECT 'Master D',a,b FROM t1 WHERE c = 3 ORDER BY a,b;
source
include
/
stop_slave
.
inc
;
--
connection
server_3
DELETE
FROM
t1
WHERE
a
=
6
;
START
SLAVE
;
--
source
include
/
start_slave
.
inc
--
connection
server_2
--
sync_slave_with_master
server_3
RESET
MASTER
;
...
...
@@ -192,7 +192,7 @@ RESET SLAVE;
--
source
include
/
rpl_change_topology
.
inc
#--replace_result $SERVER_MYPORT_3 SERVER_MYPORT_3 $file_d LOG_FILE $pos_d LOG_POS
#--eval CHANGE MASTER TO master_host='127.0.0.1',master_port=$SERVER_MYPORT_3,master_user='root',master_log_file='$file_d',master_log_pos=$pos_d
START
SLAVE
;
--
source
include
/
start_slave
.
inc
--
connection
server_3
--
sync_slave_with_master
server_4
--
source
include
/
rpl_sync
.
inc
...
...
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