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
ed691eca
Commit
ed691eca
authored
Feb 25, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove deprecated (in C++11) std::binary_function
parent
a3da3c8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+1
-1
storage/innobase/sync/sync0debug.cc
storage/innobase/sync/sync0debug.cc
+1
-9
No files found.
storage/innobase/handler/ha_innodb.cc
View file @
ed691eca
...
@@ -16327,7 +16327,7 @@ struct ShowStatus {
...
@@ -16327,7 +16327,7 @@ struct ShowStatus {
};
};
/** Order by m_waits, in descending order. */
/** Order by m_waits, in descending order. */
struct
OrderByWaits
:
public
std
::
binary_function
<
Value
,
Value
,
bool
>
struct
OrderByWaits
{
{
/** @return true if rhs < lhs */
/** @return true if rhs < lhs */
bool
operator
()(
bool
operator
()(
...
...
storage/innobase/sync/sync0debug.cc
View file @
ed691eca
/*****************************************************************************
/*****************************************************************************
Copyright (c) 2014, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2014, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, 202
0
, MariaDB Corporation.
Copyright (c) 2017, 202
2
, 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
...
@@ -100,10 +100,6 @@ struct LatchDebug {
...
@@ -100,10 +100,6 @@ struct LatchDebug {
/** Comparator for the ThreadMap. */
/** Comparator for the ThreadMap. */
struct
os_thread_id_less
struct
os_thread_id_less
:
public
std
::
binary_function
<
os_thread_id_t
,
os_thread_id_t
,
bool
>
{
{
/** @return true if lhs < rhs */
/** @return true if lhs < rhs */
bool
operator
()(
bool
operator
()(
...
@@ -389,10 +385,6 @@ struct LatchDebug {
...
@@ -389,10 +385,6 @@ struct LatchDebug {
private:
private:
/** Comparator for the Levels . */
/** Comparator for the Levels . */
struct
latch_level_less
struct
latch_level_less
:
public
std
::
binary_function
<
latch_level_t
,
latch_level_t
,
bool
>
{
{
/** @return true if lhs < rhs */
/** @return true if lhs < rhs */
bool
operator
()(
bool
operator
()(
...
...
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