InnoDB Plugin
1.0
Main Page
Data Structures
Files
File List
Globals
include
lock0iter.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (c) 2007, 2009, Oracle and/or its affiliates. All Rights Reserved.
4
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
8
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc.,
15
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
16
17
*****************************************************************************/
18
19
/**************************************************/
26
#ifndef lock0iter_h
27
#define lock0iter_h
28
29
#include "
univ.i
"
30
#include "
lock0types.h
"
31
32
struct
lock_queue_iterator_t
{
33
const
lock_t
* current_lock;
34
/* In case this is a record lock queue (not table lock queue)
35
then bit_no is the record number within the heap in which the
36
record is stored. */
37
ulint bit_no;
38
};
39
40
/*******************************************************************/
49
UNIV_INTERN
50
void
51
lock_queue_iterator_reset
(
52
/*======================*/
53
lock_queue_iterator_t
* iter,
54
const
lock_t
* lock,
55
ulint bit_no);
58
/*******************************************************************/
64
const
lock_t
*
65
lock_queue_iterator_get_prev
(
66
/*=========================*/
67
lock_queue_iterator_t
* iter);
69
#endif
/* lock0iter_h */
Generated on Fri Aug 21 2015 19:14:24 for InnoDB Plugin by
1.8.1.2