summaryrefslogtreecommitdiff
path: root/storage/innobase/lock/lock0iter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/lock/lock0iter.cc')
-rw-r--r--storage/innobase/lock/lock0iter.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/storage/innobase/lock/lock0iter.cc b/storage/innobase/lock/lock0iter.cc
index b424d2fc757..db30bcf1ca6 100644
--- a/storage/innobase/lock/lock0iter.cc
+++ b/storage/innobase/lock/lock0iter.cc
@@ -1,6 +1,6 @@
/*****************************************************************************
-Copyright (c) 2007, 2009, Oracle and/or its affiliates. All Rights Reserved.
+Copyright (c) 2007, 2014, Oracle and/or its affiliates. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
@@ -27,11 +27,10 @@ Created July 16, 2007 Vasil Dimov
#define LOCK_MODULE_IMPLEMENTATION
#include "univ.i"
+#include "dict0mem.h"
#include "lock0iter.h"
#include "lock0lock.h"
#include "lock0priv.h"
-#include "ut0dbg.h"
-#include "ut0lst.h"
/*******************************************************************//**
Initialize lock queue iterator so that it starts to iterate from
@@ -42,7 +41,6 @@ record is stored. It can be undefined (ULINT_UNDEFINED) in two cases:
bit_no is calculated in this function by using
lock_rec_find_set_bit(). There is exactly one bit set in the bitmap
of a wait lock. */
-UNIV_INTERN
void
lock_queue_iterator_reset(
/*======================*/
@@ -78,8 +76,7 @@ lock_queue_iterator_reset(
Gets the previous lock in the lock queue, returns NULL if there are no
more locks (i.e. the current lock is the first one). The iterator is
receded (if not-NULL is returned).
-@return previous lock or NULL */
-UNIV_INTERN
+@return previous lock or NULL */
const lock_t*
lock_queue_iterator_get_prev(
/*=========================*/