MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
lock0types.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (c) 1996, 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 lock0types_h
27
#define lock0types_h
28
29
#define lock_t ib_lock_t
30
struct
lock_t
;
31
struct
lock_sys_t
;
32
33
/* Basic lock modes */
34
enum
lock_mode {
35
LOCK_IS = 0,
/* intention shared */
36
LOCK_IX,
/* intention exclusive */
37
LOCK_S,
/* shared */
38
LOCK_X,
/* exclusive */
39
LOCK_AUTO_INC,
/* locks the auto-inc counter of a table
40
in an exclusive mode */
41
LOCK_NONE,
/* this is used elsewhere to note consistent read */
42
LOCK_NUM = LOCK_NONE,
/* number of lock modes */
43
LOCK_NONE_UNSET = 255
44
};
45
46
47
#endif
storage
innobase
include
lock0types.h
Generated on Sat Nov 9 2013 01:26:35 for MySQL 5.6.14 Source Code Document by
1.8.1.2