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
27b0e55e
Commit
27b0e55e
authored
Aug 01, 2024
by
Andrei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-15393 post push trying to understand [ fail ] of the new test
parent
001608de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
mysql-test/suite/rpl/r/rpl_mysqldump_gtid_slave_pos.result
mysql-test/suite/rpl/r/rpl_mysqldump_gtid_slave_pos.result
+5
-2
mysql-test/suite/rpl/t/rpl_mysqldump_gtid_slave_pos.test
mysql-test/suite/rpl/t/rpl_mysqldump_gtid_slave_pos.test
+7
-2
No files found.
mysql-test/suite/rpl/r/rpl_mysqldump_gtid_slave_pos.result
View file @
27b0e55e
...
...
@@ -30,10 +30,13 @@ insert into t1 set a = 4;
insert into t1 set a = 3;
insert into t1 set a = 2;
insert into t1 set a = 1;
include/save_master_gtid.inc
connection slave;
include/start_slave.inc
include/sync_with_master_gtid.inc
connection master;
connection slave;
select @@global.gtid_slave_pos as "after initial inserts";
after initial inserts
0-1-6
select * from mysql.gtid_slave_pos;
domain_id sub_id server_id seq_no
0 2 1 1
...
...
mysql-test/suite/rpl/t/rpl_mysqldump_gtid_slave_pos.test
View file @
27b0e55e
...
...
@@ -44,11 +44,16 @@ while ($i)
eval
insert
into
t1
set
a
=
$i
;
--
dec
$i
}
--
source
include
/
save_master_gtid
.
inc
###???
--source include/save_master_gtid.inc
--
connection
slave
--
source
include
/
start_slave
.
inc
--
source
include
/
sync_with_master_gtid
.
inc
###??? --source include/sync_with_master_gtid.inc
--
connection
master
sync_slave_with_master
;
select
@@
global
.
gtid_slave_pos
as
"after initial inserts"
;
# Prior tests in a mtr batch could leave the min value of sub_id column with
# arbtirary value. Therefore before dumping let's
# adjust mysql.gtid_slave_pos to have sub_id growing deterministically.
...
...
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