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
3dfda087
Commit
3dfda087
authored
Mar 12, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-21212 fixup: GCC -Wclass-memaccess
parent
8d4e3ec2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
storage/innobase/buf/buf0buf.cc
storage/innobase/buf/buf0buf.cc
+1
-1
storage/innobase/include/buf0buf.h
storage/innobase/include/buf0buf.h
+3
-0
No files found.
storage/innobase/buf/buf0buf.cc
View file @
3dfda087
...
...
@@ -3897,8 +3897,8 @@ void buf_pool_invalidate()
buf_pool
.
freed_page_clock
=
0
;
buf_pool
.
LRU_old
=
NULL
;
buf_pool
.
LRU_old_len
=
0
;
buf_pool
.
stat
.
init
();
memset
(
&
buf_pool
.
stat
,
0x00
,
sizeof
(
buf_pool
.
stat
));
buf_refresh_io_stats
();
mysql_mutex_unlock
(
&
buf_pool
.
mutex
);
}
...
...
storage/innobase/include/buf0buf.h
View file @
3dfda087
...
...
@@ -1220,6 +1220,9 @@ struct buf_buddy_free_t {
/** @brief The buffer pool statistics structure. */
struct
buf_pool_stat_t
{
/** Initialize the counters */
void
init
()
{
memset
((
void
*
)
this
,
0
,
sizeof
*
this
);
}
ib_counter_t
<
ulint
>
n_page_gets
;
/*!< number of page gets performed;
also successful searches through
...
...
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