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
7b082fb0
Commit
7b082fb0
authored
Mar 13, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 5.5 into 10.1
parents
7f36300d
3ab33c6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
client/mysqlbinlog.cc
client/mysqlbinlog.cc
+7
-7
No files found.
client/mysqlbinlog.cc
View file @
7b082fb0
/*
Copyright (c) 2000, 2014, Oracle and/or its affiliates.
Copyright (c) 2009, 20
14
, MariaDB
Copyright (c) 2009, 20
20
, MariaDB
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
...
...
@@ -161,7 +161,7 @@ enum Exit_status {
*/
static
Annotate_rows_log_event
*
annotate_event
=
NULL
;
void
free_annotate_event
()
static
void
free_annotate_event
()
{
if
(
annotate_event
)
{
...
...
@@ -871,7 +871,7 @@ static bool print_row_event(PRINT_EVENT_INFO *print_event_info, Log_event *ev,
print_event_info
->
m_table_map_ignored
.
get_table
(
table_id
);
bool
skip_event
=
(
ignored_map
!=
NULL
);
/*
/*
end of statement check:
i) destroy/free ignored maps
ii) if skip event
...
...
@@ -882,21 +882,21 @@ static bool print_row_event(PRINT_EVENT_INFO *print_event_info, Log_event *ev,
*/
if
(
is_stmt_end
)
{
/*
/*
Now is safe to clear ignored map (clear_tables will also
delete original table map events stored in the map).
*/
if
(
print_event_info
->
m_table_map_ignored
.
count
()
>
0
)
print_event_info
->
m_table_map_ignored
.
clear_tables
();
/*
/*
If there is a kept Annotate event and all corresponding
rbr-events were filtered away, the Annotate event was not
freed and it is just the time to do it.
*/
free_annotate_event
();
free_annotate_event
();
/*
/*
One needs to take into account an event that gets
filtered but was last event in the statement. If this is
the case, previous rows events that were written into
...
...
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