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
9714c446
Commit
9714c446
authored
Aug 17, 2017
by
Eugene Kosov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc: comment
parent
d3d2ea9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
sql/log_event.cc
sql/log_event.cc
+5
-0
No files found.
sql/log_event.cc
View file @
9714c446
...
...
@@ -13023,8 +13023,13 @@ int Rows_log_event::find_row(rpl_group_info *rgi)
// check whether master table is unversioned
if
(
sys_trx_end
->
val_int
()
==
0
)
{
// sys_trx_start initialized with NULL when came from plain table.
// Set it notnull() because record_compare() count NULLs.
table
->
vers_start_field
()
->
set_notnull
();
bitmap_set_bit
(
table
->
write_set
,
sys_trx_end
->
field_index
);
// Plain source table may have a PRIMARY KEY. And sys_trx_end is always
// a part of PRIMARY KEY. Set it to max value for engine to find it in
// index. Needed for an UPDATE/DELETE cases.
table
->
vers_end_field
()
->
set_max
();
m_vers_from_plain
=
true
;
}
...
...
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