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
c121574d
Commit
c121574d
authored
Apr 25, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-15914: buf_pool_is_obsolete(): Add UNIV_UNLIKELY
parent
7b7e4d67
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
storage/innobase/include/buf0buf.ic
storage/innobase/include/buf0buf.ic
+3
-3
No files found.
storage/innobase/include/buf0buf.ic
View file @
c121574d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2008, Google Inc.
Copyright (c) 2008, Google Inc.
Copyright (c) 2014, 201
7
, MariaDB Corporation.
Copyright (c) 2014, 201
8
, MariaDB Corporation.
Portions of this file contain modifications contributed and copyrighted by
Portions of this file contain modifications contributed and copyrighted by
Google, Inc. Those modifications are gratefully acknowledged and are described
Google, Inc. Those modifications are gratefully acknowledged and are described
...
@@ -1424,8 +1424,8 @@ bool
...
@@ -1424,8 +1424,8 @@ bool
buf_pool_is_obsolete(
buf_pool_is_obsolete(
ulint withdraw_clock)
ulint withdraw_clock)
{
{
return(buf_pool_withdrawing
return(
UNIV_UNLIKELY(
buf_pool_withdrawing
|| buf_withdraw_clock != withdraw_clock
);
|| buf_withdraw_clock != withdraw_clock)
);
}
}
/** Calculate aligned buffer pool size based on srv_buf_pool_chunk_unit,
/** Calculate aligned buffer pool size based on srv_buf_pool_chunk_unit,
...
...
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