summaryrefslogtreecommitdiff
path: root/storage/innobase/sync/sync0debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/sync/sync0debug.cc')
-rw-r--r--storage/innobase/sync/sync0debug.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/innobase/sync/sync0debug.cc b/storage/innobase/sync/sync0debug.cc
index ea12c0bf580..6574bf529e2 100644
--- a/storage/innobase/sync/sync0debug.cc
+++ b/storage/innobase/sync/sync0debug.cc
@@ -191,10 +191,10 @@ struct LatchDebug {
latch that the thread is trying
to acquire
@return true if passes, else crash with error message. */
- bool basic_check(
+ inline bool basic_check(
const Latches* latches,
latch_level_t requested_level,
- ulint level) const
+ lint level) const
UNIV_NOTHROW;
/** Adds a latch and its level in the thread level array. Allocates
@@ -606,11 +606,11 @@ LatchDebug::less(
The level of the latch that the thread is
trying to acquire
@return true if passes, else crash with error message. */
-bool
+inline bool
LatchDebug::basic_check(
const Latches* latches,
latch_level_t requested_level,
- ulint in_level) const
+ lint in_level) const
UNIV_NOTHROW
{
latch_level_t level = latch_level_t(in_level);