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
929532a9
Commit
929532a9
authored
Nov 16, 2023
by
Nikita Malyavin
Committed by
Oleksandr Byelkin
Nov 19, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix uninitialized field warnings
parent
0427c473
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
sql/handler.cc
sql/handler.cc
+1
-1
sql/handler.h
sql/handler.h
+1
-0
sql/rpl_record.cc
sql/rpl_record.cc
+1
-1
No files found.
sql/handler.cc
View file @
929532a9
...
...
@@ -2604,7 +2604,7 @@ static void xarecover_do_commit_or_rollback(handlerton *hton,
// Populate xid using the server_id from original transaction
x
.
set
(
member
->
xid
,
member
->
server_id
);
else
(
XID
)
x
=
*
member
->
full_xid
;
x
=
*
member
->
full_xid
;
rc
=
xarecover_decide_to_commit
(
member
,
ptr_commit_max
)
?
hton
->
commit_by_xid
(
hton
,
&
x
)
:
hton
->
rollback_by_xid
(
hton
,
&
x
);
...
...
sql/handler.h
View file @
929532a9
...
...
@@ -978,6 +978,7 @@ struct Online_alter_cache_list;
struct
XA_data
:
XID
{
Online_alter_cache_list
*
online_alter_cache
=
NULL
;
XA_data
&
operator
=
(
const
XID
&
x
)
{
XID
::
operator
=
(
x
);
return
*
this
;
}
};
/*
...
...
sql/rpl_record.cc
View file @
929532a9
...
...
@@ -349,7 +349,7 @@ int unpack_row(const rpl_group_info *rgi, TABLE *table, uint const colcnt,
st
.
next_null_byte
();
if
(
!
rpl_data
.
is_online_alter
())
{
Field
*
result_field
;
Field
*
result_field
=
NULL
;
for
(;
i
<
colcnt
&&
(
result_field
=
table
->
field
[
i
]);
i
++
)
{
/*
...
...
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