InnoDB Plugin
1.0
Main Page
Data Structures
Files
File List
Globals
include
db0err.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
Copyright (c) 1996, 2014, 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 db0err_h
27
#define db0err_h
28
29
30
enum
dberr_t
{
31
DB_SUCCESS_LOCKED_REC
= 9,
33
DB_SUCCESS = 10,
34
35
/* The following are error codes */
36
DB_ERROR,
37
DB_INTERRUPTED,
38
DB_OUT_OF_MEMORY,
39
DB_OUT_OF_FILE_SPACE,
40
DB_LOCK_WAIT,
41
DB_DEADLOCK,
42
DB_ROLLBACK,
43
DB_DUPLICATE_KEY,
44
DB_QUE_THR_SUSPENDED,
45
DB_MISSING_HISTORY
,
48
DB_CLUSTER_NOT_FOUND = 30,
49
DB_TABLE_NOT_FOUND,
50
DB_MUST_GET_MORE_FILE_SPACE
,
52
DB_TABLE_IS_BEING_USED,
53
DB_TOO_BIG_RECORD
,
57
DB_LOCK_WAIT_TIMEOUT
,
58
DB_NO_REFERENCED_ROW
,
61
DB_ROW_IS_REFERENCED
,
64
DB_CANNOT_ADD_CONSTRAINT
,
66
DB_CORRUPTION
,
67
DB_CANNOT_DROP_CONSTRAINT
,
69
DB_NO_SAVEPOINT
,
71
DB_TABLESPACE_EXISTS
,
74
DB_TABLESPACE_DELETED
,
76
DB_TABLESPACE_NOT_FOUND,
/*<! Attempt to delete a tablespace
77
instance that was not found in the
78
tablespace hash table */
79
DB_LOCK_TABLE_FULL
,
83
DB_FOREIGN_DUPLICATE_KEY
,
87
DB_TOO_MANY_CONCURRENT_TRXS
,
91
DB_UNSUPPORTED
,
96
DB_INVALID_NULL
,
99
DB_STATS_DO_NOT_EXIST
,
105
DB_FOREIGN_EXCEED_MAX_CASCADE
,
108
DB_CHILD_NO_INDEX
,
111
DB_PARENT_NO_INDEX
,
114
DB_TOO_BIG_INDEX_COL
,
116
DB_INDEX_CORRUPT
,
117
DB_UNDO_RECORD_TOO_BIG
,
118
DB_READ_ONLY
,
120
DB_FTS_INVALID_DOCID,
/* FTS Doc ID cannot be zero */
121
DB_TABLE_IN_FK_CHECK,
/* table is being used in foreign
122
key check */
123
DB_ONLINE_LOG_TOO_BIG
,
126
DB_IO_ERROR
,
127
DB_IDENTIFIER_TOO_LONG
,
128
DB_FTS_EXCEED_RESULT_CACHE_LIMIT
,
130
DB_TEMP_FILE_WRITE_FAILURE
,
131
DB_FTS_TOO_MANY_WORDS_IN_PHRASE,
132
/*< Too many words in a phrase */
133
DB_TOO_BIG_FOR_REDO,
/* Record length greater than 10%
134
of redo log */
135
/* The following are partial failure codes */
136
DB_FAIL = 1000,
137
DB_OVERFLOW,
138
DB_UNDERFLOW,
139
DB_STRONG_FAIL,
140
DB_ZIP_OVERFLOW,
141
DB_RECORD_NOT_FOUND = 1500,
142
DB_END_OF_INDEX,
143
DB_DICT_CHANGED
,
148
/* The following are API only error codes. */
149
DB_DATA_MISMATCH
= 2000,
152
DB_SCHEMA_NOT_LOCKED
,
157
DB_NOT_FOUND
159
};
160
161
#endif
Generated on Fri Aug 21 2015 19:14:24 for InnoDB Plugin by
1.8.1.2