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
c8f7f987
Commit
c8f7f987
authored
Dec 04, 2014
by
Elena Stepanova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-7255 Failures in engines/* tests, part 6
Updated hardcoded event numbers according to current GTID logic
parent
f02f0617
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
mysql-test/suite/engines/funcs/t/rpl_row_until.test
mysql-test/suite/engines/funcs/t/rpl_row_until.test
+6
-6
No files found.
mysql-test/suite/engines/funcs/t/rpl_row_until.test
View file @
c8f7f987
...
...
@@ -11,18 +11,18 @@ INSERT INTO t1 VALUES (1),(2),(3),(4);
DROP
TABLE
t1
;
# Save master log position for query DROP TABLE t1
save_master_pos
;
let
$master_pos_drop_t1
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Pos
,
7
);
let
$master_log_file
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Log_name
,
7
);
let
$master_pos_drop_t1
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Pos
,
10
);
let
$master_log_file
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Log_name
,
10
);
CREATE
TABLE
t2
(
n
INT
NOT
NULL
AUTO_INCREMENT
PRIMARY
KEY
);
# Save master log position for query CREATE TABLE t2
save_master_pos
;
let
$master_pos_create_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Pos
,
8
);
let
$master_pos_create_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
Pos
,
12
);
INSERT
INTO
t2
VALUES
(
1
),(
2
);
save_master_pos
;
# Save master log position for query INSERT INTO t2 VALUES (1),(2);
let
$master_pos_insert1_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
End_log_pos
,
1
2
);
let
$master_pos_insert1_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
End_log_pos
,
1
7
);
sync_slave_with_master
;
# Save relay log position for query INSERT INTO t2 VALUES (1),(2);
...
...
@@ -31,8 +31,8 @@ let $relay_pos_insert1_t2= query_get_value(show slave status, Relay_Log_Pos, 1);
connection
master
;
INSERT
INTO
t2
VALUES
(
3
),(
4
);
DROP
TABLE
t2
;
# Save master log position for query
INSERT INTO t2 VALUES (1),(2)
;
let
$master_pos_drop_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
End_log_pos
,
17
);
# Save master log position for query
DROP TABLE t2
;
let
$master_pos_drop_t2
=
query_get_value
(
SHOW
BINLOG
EVENTS
,
End_log_pos
,
23
);
sync_slave_with_master
;
--
source
include
/
stop_slave
.
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