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
f20d556f
Commit
f20d556f
authored
1 year ago
by
Vicentiu Ciorbaru
Committed by
Monty
1 year ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix use of uninitialized variable
The original code generated a warning in gcc 13.1
parent
ecd8a522
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
storage/maria/ma_blockrec.c
storage/maria/ma_blockrec.c
+1
-1
No files found.
storage/maria/ma_blockrec.c
View file @
f20d556f
...
@@ -4744,7 +4744,7 @@ int _ma_read_block_record2(MARIA_HA *info, uchar *record,
...
@@ -4744,7 +4744,7 @@ int _ma_read_block_record2(MARIA_HA *info, uchar *record,
uchar
*
data
,
uchar
*
end_of_data
)
uchar
*
data
,
uchar
*
end_of_data
)
{
{
MARIA_SHARE
*
share
=
info
->
s
;
MARIA_SHARE
*
share
=
info
->
s
;
uchar
*
UNINIT_VAR
(
field_length_data
)
,
*
UNINIT_VAR
(
blob_buffer
),
*
start_of_data
;
uchar
*
field_length_data
=
0
,
*
UNINIT_VAR
(
blob_buffer
),
*
start_of_data
;
uint
flag
,
null_bytes
,
cur_null_bytes
,
row_extents
,
field_lengths
;
uint
flag
,
null_bytes
,
cur_null_bytes
,
row_extents
,
field_lengths
;
my_bool
found_blob
=
0
;
my_bool
found_blob
=
0
;
MARIA_EXTENT_CURSOR
extent
;
MARIA_EXTENT_CURSOR
extent
;
...
...
This diff is collapsed.
Click to expand it.
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