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
ea1fbd03
Commit
ea1fbd03
authored
Jun 07, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.3 into 10.4
parents
96f4b4a5
392e744a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
dbug/dbug.c
dbug/dbug.c
+2
-3
sql/slave.cc
sql/slave.cc
+3
-3
No files found.
dbug/dbug.c
View file @
ea1fbd03
...
@@ -1994,11 +1994,10 @@ static void DBUGOpenFile(CODE_STATE *cs,
...
@@ -1994,11 +1994,10 @@ static void DBUGOpenFile(CODE_STATE *cs,
static
void
DBUGCloseFile
(
CODE_STATE
*
cs
,
sFILE
*
new_value
)
static
void
DBUGCloseFile
(
CODE_STATE
*
cs
,
sFILE
*
new_value
)
{
{
sFILE
*
fp
;
sFILE
*
fp
;
if
(
!
cs
||
!
cs
->
stack
||
!
cs
->
stack
->
out_file
)
if
(
!
cs
||
!
cs
->
stack
||
!
(
fp
=
cs
->
stack
->
out_file
)
)
return
;
return
;
fp
=
cs
->
stack
->
out_file
;
if
(
fp
!=
sstdout
&&
fp
!=
sstderr
&&
--
fp
->
used
==
0
)
if
(
--
fp
->
used
==
0
)
{
{
if
(
fclose
(
fp
->
file
)
==
EOF
)
if
(
fclose
(
fp
->
file
)
==
EOF
)
{
{
...
...
sql/slave.cc
View file @
ea1fbd03
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates.
/* Copyright (c) 2000, 2017, Oracle and/or its affiliates.
Copyright (c) 2009, 202
0, MariaDB Corporation.
Copyright (c) 2009, 202
2, MariaDB Corporation
This program is free software; you can redistribute it and/or modify
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
...
@@ -6628,8 +6628,8 @@ static int queue_event(Master_info* mi,const char* buf, ulong event_len)
...
@@ -6628,8 +6628,8 @@ static int queue_event(Master_info* mi,const char* buf, ulong event_len)
can be satisfied only with the strict mode that ensures
can be satisfied only with the strict mode that ensures
against "genuine" gtid duplicates.
against "genuine" gtid duplicates.
*/
*/
rpl_gtid
*
gtid_in_slave_state
=
IF_DBUG
(
rpl_gtid
*
gtid_in_slave_state
=
mi
->
gtid_current_pos
.
find
(
mi
->
last_queued_gtid
.
domain_id
);
mi
->
gtid_current_pos
.
find
(
mi
->
last_queued_gtid
.
domain_id
),
);
// Slave gtid state must not have updated yet to the last received gtid.
// Slave gtid state must not have updated yet to the last received gtid.
DBUG_ASSERT
((
mi
->
using_gtid
==
Master_info
::
USE_GTID_NO
||
DBUG_ASSERT
((
mi
->
using_gtid
==
Master_info
::
USE_GTID_NO
||
...
...
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