File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
4
4
Copyright (c) 2008, Google Inc.
5
- Copyright (c) 2014, 2017 , MariaDB Corporation.
5
+ Copyright (c) 2014, 2018 , MariaDB Corporation.
6
6
7
7
Portions of this file contain modifications contributed and copyrighted by
8
8
Google, Inc. Those modifications are gratefully acknowledged and are described
@@ -1424,8 +1424,8 @@ bool
1424
1424
buf_pool_is_obsolete(
1425
1425
ulint withdraw_clock)
1426
1426
{
1427
- return(buf_pool_withdrawing
1428
- || buf_withdraw_clock != withdraw_clock);
1427
+ return(UNIV_UNLIKELY( buf_pool_withdrawing
1428
+ || buf_withdraw_clock != withdraw_clock) );
1429
1429
}
1430
1430
1431
1431
/** Calculate aligned buffer pool size based on srv_buf_pool_chunk_unit,
You can’t perform that action at this time.
0 commit comments