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
61bba2a5
Commit
61bba2a5
authored
Oct 13, 2018
by
Kristian Nielsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build of embedded server
parent
2f4a0c5b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sql/rpl_gtid.cc
sql/rpl_gtid.cc
+6
-0
No files found.
sql/rpl_gtid.cc
View file @
61bba2a5
...
...
@@ -329,7 +329,9 @@ rpl_slave_state::update(uint32 domain_id, uint32 server_id, uint64 sub_id,
}
rgi
->
gtid_ignore_duplicate_state
=
rpl_group_info
::
GTID_DUPLICATE_NULL
;
#ifdef HAVE_REPLICATION
rgi
->
pending_gtid_deletes_clear
();
#endif
}
if
(
!
(
list_elem
=
(
list_element
*
)
my_malloc
(
sizeof
(
*
list_elem
),
MYF
(
MY_WME
))))
...
...
@@ -715,12 +717,16 @@ IF_DBUG(dbug_break:, )
redundant rows in mysql.gtid_slave_pos may accumulate if transactions
are rolled back and retried after record_gtid().
*/
#ifdef HAVE_REPLICATION
rgi
->
pending_gtid_deletes_save
(
gtid
->
domain_id
,
elist
);
#endif
}
else
{
thd
->
mdl_context
.
release_transactional_locks
();
#ifdef HAVE_REPLICATION
rpl_group_info
::
pending_gtid_deletes_free
(
elist
);
#endif
}
}
thd
->
lex
->
restore_backup_query_tables_list
(
&
lex_backup
);
...
...
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