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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
af331f82
Commit
af331f82
authored
Dec 09, 2012
by
Shivji Kumar Jha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#12359942 - REPLICATION TEST FROM ENGINE SUITE
RPL_ROW_UNTIL TIMES OUT patch to fix post push falures in pb2
parent
111646ab
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
mysql-test/suite/rpl/r/rpl_row_until.result
mysql-test/suite/rpl/r/rpl_row_until.result
+0
-1
mysql-test/suite/rpl/t/disabled.def
mysql-test/suite/rpl/t/disabled.def
+1
-0
mysql-test/suite/rpl/t/rpl_row_until.test
mysql-test/suite/rpl/t/rpl_row_until.test
+2
-2
No files found.
mysql-test/suite/rpl/r/rpl_row_until.result
View file @
af331f82
...
...
@@ -27,7 +27,6 @@ n
3
4
include/check_slave_param.inc [Exec_Master_Log_Pos]
START SLAVE UNTIL RELAY_LOG_FILE='slave-relay-bin.000002', RELAY_LOG_POS=relay_pos_insert1_t2
include/wait_for_slave_sql_to_stop.inc
SELECT * FROM t2;
n
...
...
mysql-test/suite/rpl/t/disabled.def
View file @
af331f82
...
...
@@ -13,3 +13,4 @@
rpl_row_create_table : Bug#11759274 Feb 27 2010 andrei failed different way than earlier with bug#45576
rpl_get_master_version_and_clock : Bug#11766137 Jan 05 2011 joro Valgrind warnings rpl_get_master_version_and_clock
rpl_stm_until : BUG#59543 Jan 26 2011 alfranio Replication test from eits suite rpl_row_until times out
rpl_row_until @macosx : BUG#15965353 RPL.RPL_ROW_UNTIL FAILS ON PB2 , PLATFORM= MACOSX10.6 X86_64 MAX
mysql-test/suite/rpl/t/rpl_row_until.test
View file @
af331f82
...
...
@@ -26,6 +26,7 @@ let $master_pos_insert1_t2= query_get_value(SHOW BINLOG EVENTS, End_log_pos, 12)
sync_slave_with_master
;
# Save relay log position for query INSERT INTO t2 VALUES (1),(2);
let
$relay_log_file
=
query_get_value
(
show
slave
status
,
Relay_Log_File
,
1
);
let
$relay_pos_insert1_t2
=
query_get_value
(
show
slave
status
,
Relay_Log_Pos
,
1
);
connection
master
;
...
...
@@ -68,9 +69,8 @@ SELECT * FROM t1;
--
source
include
/
check_slave_param
.
inc
# Try replicate all up to and not including the second insert to t2;
echo
START
SLAVE
UNTIL
RELAY_LOG_FILE
=
'slave-relay-bin.000002'
,
RELAY_LOG_POS
=
relay_pos_insert1_t2
;
--
disable_query_log
eval
START
SLAVE
UNTIL
RELAY_LOG_FILE
=
'
slave-relay-bin.000002
'
,
RELAY_LOG_POS
=
$relay_pos_insert1_t2
;
eval
START
SLAVE
UNTIL
RELAY_LOG_FILE
=
'
$relay_log_file
'
,
RELAY_LOG_POS
=
$relay_pos_insert1_t2
;
--
enable_query_log
--
source
include
/
wait_for_slave_sql_to_stop
.
inc
SELECT
*
FROM
t2
;
...
...
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