Drizzled Public API Documentation
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
lock0iter.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (C) 2007, 2009, Innobase Oy. 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., 51 Franklin
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
17
*****************************************************************************/
18
19
/**************************************************/
26
#pragma once
27
#ifndef lock0iter_h
28
#define lock0iter_h
29
30
#include "univ.i"
31
#include "
lock0types.h
"
32
33
typedef
struct
lock_queue_iterator_struct
{
34
const
lock_t
* current_lock;
35
/* In case this is a record lock queue (not table lock queue)
36
then bit_no is the record number within the heap in which the
37
record is stored. */
38
ulint bit_no;
39
}
lock_queue_iterator_t
;
40
41
/*******************************************************************/
50
UNIV_INTERN
51
void
52
lock_queue_iterator_reset
(
53
/*======================*/
54
lock_queue_iterator_t
* iter,
55
const
lock_t
* lock,
56
ulint bit_no);
59
/*******************************************************************/
65
const
lock_t
*
66
lock_queue_iterator_get_prev
(
67
/*=========================*/
68
lock_queue_iterator_t
* iter);
70
#endif
/* lock0iter_h */
lock0types.h
lock_queue_iterator_get_prev
const lock_t * lock_queue_iterator_get_prev(lock_queue_iterator_t *iter)
Definition:
lock0iter.cc:87
lock_queue_iterator_struct
Definition:
lock0iter.h:33
lock_struct
Definition:
lock0priv.h:67
lock_queue_iterator_reset
UNIV_INTERN void lock_queue_iterator_reset(lock_queue_iterator_t *iter, const lock_t *lock, ulint bit_no)
Definition:
lock0iter.cc:50
plugin
innobase
include
lock0iter.h
Generated on Mon Apr 28 2014 10:07:08 for drizzle by
1.8.6