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
0311b112
Commit
0311b112
authored
Oct 13, 2022
by
Nikita Malyavin
Committed by
Sergei Golubchik
Aug 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
few rgi assertions. this can proof that rgi is always present
parent
daebec60
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
sql/log_event_server.cc
sql/log_event_server.cc
+2
-1
sql/rpl_record.cc
sql/rpl_record.cc
+2
-1
No files found.
sql/log_event_server.cc
View file @
0311b112
...
...
@@ -4741,6 +4741,7 @@ inline void restore_empty_query_table_list(LEX *lex)
int
Rows_log_event
::
do_apply_event
(
rpl_group_info
*
rgi
)
{
DBUG_ASSERT
(
rgi
);
Relay_log_info
const
*
rli
=
rgi
->
rli
;
TABLE
*
table
;
DBUG_ENTER
(
"Rows_log_event::do_apply_event(Relay_log_info*)"
);
...
...
@@ -5062,7 +5063,7 @@ int Rows_log_event::do_apply_event(rpl_group_info *rgi)
set_flags
(
COMPLETE_ROWS_F
);
Rpl_table_data
rpl_data
{};
if
(
rgi
)
rgi
->
get_table_data
(
table
,
&
rpl_data
);
rgi
->
get_table_data
(
table
,
&
rpl_data
);
/*
Set tables write and read sets.
...
...
sql/rpl_record.cc
View file @
0311b112
...
...
@@ -165,7 +165,7 @@ pack_row(TABLE *table, MY_BITMAP const* cols,
unpack a row from from the backup image, but can be used for other
purposes as well.
@param r
li Relay log info, which can be NULL
@param r
gi Relay group info
@param table Table to unpack into
@param colcnt Number of columns to read from record
@param row_data
...
...
@@ -231,6 +231,7 @@ int unpack_row(rpl_group_info *rgi, TABLE *table, uint const colcnt,
table_found
,
tabledef
,
conv_table
));
DBUG_ASSERT
(
table_found
);
DBUG_ASSERT
(
rgi
);
/*
If rgi is NULL it means that there is no source table and that the
row shall just be unpacked without doing any checks. This feature
...
...
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