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
3c269afe
Commit
3c269afe
authored
May 04, 2010
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fsp_init_file_page_low(): Zero out the page. (Bug #53306)
parent
ed842148
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
storage/innodb_plugin/fsp/fsp0fsp.c
storage/innodb_plugin/fsp/fsp0fsp.c
+1
-3
No files found.
storage/innodb_plugin/fsp/fsp0fsp.c
View file @
3c269afe
...
...
@@ -869,12 +869,10 @@ fsp_init_file_page_low(
return
;
}
UNIV_MEM_INVALID
(
page
,
UNIV_PAGE_SIZE
);
memset
(
page
,
0
,
UNIV_PAGE_SIZE
);
mach_write_to_4
(
page
+
FIL_PAGE_OFFSET
,
buf_block_get_page_no
(
block
));
memset
(
page
+
FIL_PAGE_LSN
,
0
,
8
);
mach_write_to_4
(
page
+
FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID
,
buf_block_get_space
(
block
));
memset
(
page
+
UNIV_PAGE_SIZE
-
FIL_PAGE_END_LSN_OLD_CHKSUM
,
0
,
8
);
}
#ifndef UNIV_HOTBACKUP
...
...
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