1089.1.11
by Brian Aker
Cleanup on enum |
1 |
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
|
2 |
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
|
|
3 |
*
|
|
4 |
* Copyright (C) 2009 Sun Microsystems
|
|
5 |
*
|
|
6 |
* This program is free software; you can redistribute it and/or modify
|
|
7 |
* it under the terms of the GNU General Public License as published by
|
|
8 |
* the Free Software Foundation; either version 2 of the License, or
|
|
9 |
* (at your option) any later version.
|
|
10 |
*
|
|
11 |
* This program is distributed in the hope that it will be useful,
|
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 |
* GNU General Public License for more details.
|
|
15 |
*
|
|
16 |
* You should have received a copy of the GNU General Public License
|
|
17 |
* along with this program; if not, write to the Free Software
|
|
18 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
19 |
*/
|
|
20 |
||
21 |
#ifndef DRIZZLED_ENUM_H
|
|
22 |
#define DRIZZLED_ENUM_H
|
|
23 |
||
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
24 |
namespace drizzled |
25 |
{
|
|
26 |
||
1089.1.11
by Brian Aker
Cleanup on enum |
27 |
/**
|
28 |
Query type constants.
|
|
29 |
||
30 |
QT_ORDINARY -- ordinary SQL query.
|
|
31 |
QT_IS -- SQL query to be shown in INFORMATION_SCHEMA (in utf8 and without
|
|
32 |
character set introducers).
|
|
33 |
||
34 |
@TODO
|
|
35 |
||
36 |
Move this out of here once Stew's done with UDF breakout. The following headers need it:
|
|
37 |
||
38 |
sql_lex.h --> included by session.h
|
|
39 |
item.h
|
|
40 |
table.h
|
|
41 |
item_func.h
|
|
42 |
item_subselect.h
|
|
43 |
item_timefunc.h
|
|
44 |
item_sum.h
|
|
45 |
item_cmpfunc.h
|
|
46 |
item_strfunc.h
|
|
47 |
*/
|
|
48 |
enum enum_query_type |
|
49 |
{
|
|
50 |
QT_ORDINARY, |
|
51 |
QT_IS
|
|
52 |
};
|
|
53 |
||
54 |
||
55 |
/**
|
|
56 |
* @TODO Move to a separate header?
|
|
57 |
*
|
|
58 |
* It's needed by item.h and field.h, which are both inter-dependent
|
|
59 |
* and contain forward declarations of many structs/classes in the
|
|
60 |
* other header file.
|
|
61 |
*
|
|
62 |
* What is needed is a separate header file that is included
|
|
63 |
* by *both* item.h and field.h to resolve inter-dependencies
|
|
64 |
*
|
|
65 |
* But, probably want to hold off on this until Stew finished the UDF cleanup
|
|
66 |
*/
|
|
67 |
enum Derivation |
|
68 |
{
|
|
69 |
DERIVATION_IGNORABLE= 5, |
|
70 |
DERIVATION_COERCIBLE= 4, |
|
71 |
DERIVATION_SYSCONST= 3, |
|
72 |
DERIVATION_IMPLICIT= 2, |
|
73 |
DERIVATION_NONE= 1, |
|
74 |
DERIVATION_EXPLICIT= 0 |
|
75 |
};
|
|
76 |
||
77 |
enum enum_parsing_place |
|
78 |
{
|
|
1240.3.2
by Brian Aker
Cleanup white space. |
79 |
NO_MATTER, |
80 |
IN_HAVING, |
|
81 |
SELECT_LIST, |
|
82 |
IN_WHERE, |
|
83 |
IN_ON
|
|
1100.2.3
by Brian Aker
Remove final bits on SJ |
84 |
};
|
1089.1.11
by Brian Aker
Cleanup on enum |
85 |
|
1240.3.2
by Brian Aker
Cleanup white space. |
86 |
enum enum_mysql_completiontype |
1089.1.11
by Brian Aker
Cleanup on enum |
87 |
{
|
1240.3.2
by Brian Aker
Cleanup white space. |
88 |
ROLLBACK_RELEASE= -2, |
89 |
ROLLBACK= 1, |
|
90 |
ROLLBACK_AND_CHAIN= 7, |
|
91 |
COMMIT_RELEASE= -1, |
|
92 |
COMMIT= 0, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
93 |
COMMIT_AND_CHAIN= 6 |
94 |
};
|
|
95 |
||
96 |
enum enum_check_fields |
|
97 |
{
|
|
1240.3.2
by Brian Aker
Cleanup white space. |
98 |
CHECK_FIELD_IGNORE, |
99 |
CHECK_FIELD_WARN, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
100 |
CHECK_FIELD_ERROR_FOR_NULL
|
101 |
};
|
|
102 |
||
1273.13.24
by Brian Aker
Updating style, simplified code. |
103 |
enum sql_var_t |
1089.1.11
by Brian Aker
Cleanup on enum |
104 |
{
|
1240.3.2
by Brian Aker
Cleanup white space. |
105 |
OPT_DEFAULT= 0, |
106 |
OPT_SESSION, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
107 |
OPT_GLOBAL
|
108 |
};
|
|
109 |
||
1240.3.2
by Brian Aker
Cleanup white space. |
110 |
enum row_type |
111 |
{
|
|
112 |
ROW_TYPE_NOT_USED=-1, |
|
113 |
ROW_TYPE_DEFAULT, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
114 |
ROW_TYPE_FIXED, |
1240.3.2
by Brian Aker
Cleanup white space. |
115 |
ROW_TYPE_DYNAMIC, |
1089.1.11
by Brian Aker
Cleanup on enum |
116 |
ROW_TYPE_COMPRESSED, |
1240.3.2
by Brian Aker
Cleanup white space. |
117 |
ROW_TYPE_REDUNDANT, |
118 |
ROW_TYPE_COMPACT, |
|
119 |
ROW_TYPE_PAGE
|
|
1089.1.11
by Brian Aker
Cleanup on enum |
120 |
};
|
121 |
||
1240.3.2
by Brian Aker
Cleanup white space. |
122 |
enum column_format_type |
1089.1.11
by Brian Aker
Cleanup on enum |
123 |
{
|
124 |
COLUMN_FORMAT_TYPE_NOT_USED= -1, |
|
125 |
COLUMN_FORMAT_TYPE_DEFAULT= 0, |
|
126 |
COLUMN_FORMAT_TYPE_FIXED= 1, |
|
1240.3.2
by Brian Aker
Cleanup white space. |
127 |
COLUMN_FORMAT_TYPE_DYNAMIC= 2 |
1089.1.11
by Brian Aker
Cleanup on enum |
128 |
};
|
129 |
||
130 |
||
131 |
/**
|
|
132 |
Category of table found in the table share.
|
|
133 |
*/
|
|
134 |
enum enum_table_category |
|
135 |
{
|
|
136 |
/**
|
|
137 |
Unknown value.
|
|
138 |
*/
|
|
139 |
TABLE_UNKNOWN_CATEGORY=0, |
|
140 |
||
141 |
/**
|
|
142 |
Temporary table.
|
|
143 |
The table is visible only in the session.
|
|
144 |
Therefore,
|
|
145 |
- FLUSH TABLES WITH READ LOCK
|
|
146 |
- SET GLOBAL READ_ONLY = ON
|
|
147 |
do not apply to this table.
|
|
148 |
Note that LOCK Table t FOR READ/WRITE
|
|
149 |
can be used on temporary tables.
|
|
150 |
Temporary tables are not part of the table cache.
|
|
151 |
*/
|
|
152 |
TABLE_CATEGORY_TEMPORARY=1, |
|
153 |
||
154 |
/**
|
|
155 |
User table.
|
|
156 |
These tables do honor:
|
|
157 |
- LOCK Table t FOR READ/WRITE
|
|
158 |
- FLUSH TABLES WITH READ LOCK
|
|
159 |
- SET GLOBAL READ_ONLY = ON
|
|
160 |
User tables are cached in the table cache.
|
|
161 |
*/
|
|
162 |
TABLE_CATEGORY_USER=2, |
|
163 |
||
164 |
/**
|
|
165 |
Information schema tables.
|
|
166 |
These tables are an interface provided by the system
|
|
167 |
to inspect the system metadata.
|
|
168 |
These tables do *not* honor:
|
|
169 |
- LOCK Table t FOR READ/WRITE
|
|
170 |
- FLUSH TABLES WITH READ LOCK
|
|
171 |
- SET GLOBAL READ_ONLY = ON
|
|
172 |
as there is no point in locking explicitely
|
|
173 |
an INFORMATION_SCHEMA table.
|
|
174 |
Nothing is directly written to information schema tables.
|
|
175 |
Note that this value is not used currently,
|
|
176 |
since information schema tables are not shared,
|
|
177 |
but implemented as session specific temporary tables.
|
|
178 |
*/
|
|
179 |
/*
|
|
180 |
TODO: Fixing the performance issues of I_S will lead
|
|
181 |
to I_S tables in the table cache, which should use
|
|
182 |
this table type.
|
|
183 |
*/
|
|
184 |
TABLE_CATEGORY_INFORMATION
|
|
185 |
};
|
|
186 |
||
1240.3.2
by Brian Aker
Cleanup white space. |
187 |
enum enum_enable_or_disable |
1089.1.11
by Brian Aker
Cleanup on enum |
188 |
{
|
1240.3.2
by Brian Aker
Cleanup white space. |
189 |
LEAVE_AS_IS, |
190 |
ENABLE, |
|
191 |
DISABLE
|
|
1089.1.11
by Brian Aker
Cleanup on enum |
192 |
};
|
193 |
||
194 |
||
195 |
enum enum_mark_columns |
|
1240.3.2
by Brian Aker
Cleanup white space. |
196 |
{
|
197 |
MARK_COLUMNS_NONE, |
|
198 |
MARK_COLUMNS_READ, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
199 |
MARK_COLUMNS_WRITE
|
200 |
};
|
|
201 |
||
1240.3.2
by Brian Aker
Cleanup white space. |
202 |
enum enum_filetype |
203 |
{
|
|
204 |
FILETYPE_CSV, |
|
205 |
FILETYPE_XML
|
|
1089.1.11
by Brian Aker
Cleanup on enum |
206 |
};
|
207 |
||
1240.3.2
by Brian Aker
Cleanup white space. |
208 |
enum find_item_error_report_type |
1089.1.11
by Brian Aker
Cleanup on enum |
209 |
{
|
1240.3.2
by Brian Aker
Cleanup white space. |
210 |
REPORT_ALL_ERRORS, |
1089.1.11
by Brian Aker
Cleanup on enum |
211 |
REPORT_EXCEPT_NOT_FOUND, |
1240.3.2
by Brian Aker
Cleanup white space. |
212 |
IGNORE_ERRORS, |
1089.1.11
by Brian Aker
Cleanup on enum |
213 |
REPORT_EXCEPT_NON_UNIQUE, |
214 |
IGNORE_EXCEPT_NON_UNIQUE
|
|
215 |
};
|
|
216 |
||
217 |
enum tmp_table_type |
|
218 |
{
|
|
1309.2.16
by Brian Aker
Small name change (AKA... I hate reading the NO_**@##@$# logic). |
219 |
STANDARD_TABLE, |
1235.1.3
by Brian Aker
Remove the need for trans/non-trans temp tables for lock conditions. |
220 |
TEMP_TABLE, |
221 |
INTERNAL_TMP_TABLE, |
|
1217.1.2
by Brian Aker
Remove dead TMP_TABLE_FRM_FILE_ONLY enum type for tmp tables. |
222 |
SYSTEM_TMP_TABLE
|
1089.1.11
by Brian Aker
Cleanup on enum |
223 |
};
|
224 |
||
225 |
/*
|
|
226 |
Values in this enum are used to indicate how a tables TIMESTAMP field
|
|
227 |
should be treated. It can be set to the current timestamp on insert or
|
|
228 |
update or both.
|
|
229 |
WARNING: The values are used for bit operations. If you change the
|
|
230 |
enum, you must keep the bitwise relation of the values. For example:
|
|
231 |
(int) TIMESTAMP_AUTO_SET_ON_BOTH must be equal to
|
|
232 |
(int) TIMESTAMP_AUTO_SET_ON_INSERT | (int) TIMESTAMP_AUTO_SET_ON_UPDATE.
|
|
233 |
We use an enum here so that the debugger can display the value names.
|
|
234 |
*/
|
|
235 |
enum timestamp_auto_set_type |
|
236 |
{
|
|
1240.3.2
by Brian Aker
Cleanup white space. |
237 |
TIMESTAMP_NO_AUTO_SET= 0, |
1089.1.11
by Brian Aker
Cleanup on enum |
238 |
TIMESTAMP_AUTO_SET_ON_INSERT= 1, |
1240.3.2
by Brian Aker
Cleanup white space. |
239 |
TIMESTAMP_AUTO_SET_ON_UPDATE= 2, |
1089.1.11
by Brian Aker
Cleanup on enum |
240 |
TIMESTAMP_AUTO_SET_ON_BOTH= 3 |
241 |
};
|
|
242 |
||
1240.3.2
by Brian Aker
Cleanup white space. |
243 |
enum enum_ha_read_modes |
244 |
{
|
|
245 |
RFIRST, |
|
246 |
RNEXT, |
|
247 |
RPREV, |
|
248 |
RLAST, |
|
249 |
RKEY, |
|
250 |
RNEXT_SAME
|
|
1089.1.11
by Brian Aker
Cleanup on enum |
251 |
};
|
252 |
||
1240.3.2
by Brian Aker
Cleanup white space. |
253 |
enum enum_tx_isolation |
1089.1.11
by Brian Aker
Cleanup on enum |
254 |
{
|
1240.3.2
by Brian Aker
Cleanup white space. |
255 |
ISO_READ_UNCOMMITTED, |
1089.1.11
by Brian Aker
Cleanup on enum |
256 |
ISO_READ_COMMITTED, |
1240.3.2
by Brian Aker
Cleanup white space. |
257 |
ISO_REPEATABLE_READ, |
1089.1.11
by Brian Aker
Cleanup on enum |
258 |
ISO_SERIALIZABLE
|
259 |
};
|
|
260 |
||
261 |
||
1240.3.2
by Brian Aker
Cleanup white space. |
262 |
enum SHOW_COMP_OPTION |
263 |
{
|
|
264 |
SHOW_OPTION_YES, |
|
265 |
SHOW_OPTION_NO, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
266 |
SHOW_OPTION_DISABLED
|
267 |
};
|
|
268 |
||
269 |
/*
|
|
270 |
When a command is added here, be sure it's also added in mysqld.cc
|
|
271 |
in "struct show_var_st status_vars[]= {" ...
|
|
272 |
||
273 |
If the command returns a result set or is not allowed in stored
|
|
274 |
functions or triggers, please also make sure that
|
|
275 |
sp_get_flags_for_command (sp_head.cc) returns proper flags for the
|
|
276 |
added SQLCOM_.
|
|
277 |
*/
|
|
278 |
||
279 |
enum enum_sql_command { |
|
1240.3.2
by Brian Aker
Cleanup white space. |
280 |
SQLCOM_SELECT, |
281 |
SQLCOM_CREATE_TABLE, |
|
282 |
SQLCOM_CREATE_INDEX, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
283 |
SQLCOM_ALTER_TABLE, |
1240.3.2
by Brian Aker
Cleanup white space. |
284 |
SQLCOM_UPDATE, |
285 |
SQLCOM_INSERT, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
286 |
SQLCOM_INSERT_SELECT, |
1240.3.2
by Brian Aker
Cleanup white space. |
287 |
SQLCOM_DELETE, |
288 |
SQLCOM_TRUNCATE, |
|
289 |
SQLCOM_DROP_TABLE, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
290 |
SQLCOM_DROP_INDEX, |
291 |
SQLCOM_SHOW_CREATE, |
|
292 |
SQLCOM_SHOW_CREATE_DB, |
|
293 |
SQLCOM_LOAD, |
|
294 |
SQLCOM_SET_OPTION, |
|
295 |
SQLCOM_UNLOCK_TABLES, |
|
1240.3.2
by Brian Aker
Cleanup white space. |
296 |
SQLCOM_CHANGE_DB, |
297 |
SQLCOM_CREATE_DB, |
|
298 |
SQLCOM_DROP_DB, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
299 |
SQLCOM_ALTER_DB, |
1240.3.2
by Brian Aker
Cleanup white space. |
300 |
SQLCOM_REPLACE, |
1089.1.11
by Brian Aker
Cleanup on enum |
301 |
SQLCOM_REPLACE_SELECT, |
302 |
SQLCOM_CHECK, |
|
1240.3.2
by Brian Aker
Cleanup white space. |
303 |
SQLCOM_FLUSH, |
304 |
SQLCOM_KILL, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
305 |
SQLCOM_ANALYZE, |
1240.3.2
by Brian Aker
Cleanup white space. |
306 |
SQLCOM_ROLLBACK, |
1089.1.11
by Brian Aker
Cleanup on enum |
307 |
SQLCOM_ROLLBACK_TO_SAVEPOINT, |
1240.3.2
by Brian Aker
Cleanup white space. |
308 |
SQLCOM_COMMIT, |
309 |
SQLCOM_SAVEPOINT, |
|
1089.1.11
by Brian Aker
Cleanup on enum |
310 |
SQLCOM_RELEASE_SAVEPOINT, |
311 |
SQLCOM_BEGIN, |
|
312 |
SQLCOM_RENAME_TABLE, |
|
313 |
SQLCOM_SHOW_WARNS, |
|
314 |
SQLCOM_EMPTY_QUERY, |
|
315 |
SQLCOM_SHOW_ERRORS, |
|
316 |
SQLCOM_CHECKSUM, |
|
317 |
/*
|
|
318 |
When a command is added here, be sure it's also added in mysqld.cc
|
|
319 |
in "struct show_var_st status_vars[]= {" ...
|
|
320 |
*/
|
|
321 |
/* This should be the last !!! */
|
|
322 |
SQLCOM_END
|
|
323 |
};
|
|
324 |
||
1240.3.2
by Brian Aker
Cleanup white space. |
325 |
enum enum_duplicates |
326 |
{
|
|
327 |
DUP_ERROR, |
|
328 |
DUP_REPLACE, |
|
329 |
DUP_UPDATE
|
|
1089.1.11
by Brian Aker
Cleanup on enum |
330 |
};
|
331 |
||
1271.7.7
by Tim Penhey
Move the error enums into the enum header. |
332 |
enum drizzled_error_code { |
333 |
||
334 |
EE_ERROR_FIRST=1, |
|
335 |
EE_CANTCREATEFILE, |
|
336 |
EE_READ, |
|
337 |
EE_WRITE, |
|
338 |
EE_BADCLOSE, |
|
339 |
EE_OUTOFMEMORY, |
|
340 |
EE_DELETE, |
|
341 |
EE_LINK, |
|
342 |
EE_EOFERR, |
|
343 |
EE_CANTLOCK, |
|
344 |
EE_CANTUNLOCK, |
|
345 |
EE_DIR, |
|
346 |
EE_STAT, |
|
347 |
EE_CANT_CHSIZE, |
|
348 |
EE_CANT_OPEN_STREAM, |
|
349 |
EE_GETWD, |
|
350 |
EE_SETWD, |
|
351 |
EE_LINK_WARNING, |
|
352 |
EE_OPEN_WARNING, |
|
353 |
EE_DISK_FULL, |
|
354 |
EE_CANT_MKDIR, |
|
355 |
EE_UNKNOWN_CHARSET, |
|
356 |
EE_OUT_OF_FILERESOURCES, |
|
357 |
EE_CANT_READLINK, |
|
358 |
EE_CANT_SYMLINK, |
|
359 |
EE_REALPATH, |
|
360 |
EE_SYNC, |
|
361 |
EE_UNKNOWN_COLLATION, |
|
362 |
EE_FILENOTFOUND, |
|
363 |
EE_FILE_NOT_CLOSED, |
|
364 |
EE_ERROR_LAST= EE_FILE_NOT_CLOSED, |
|
365 |
||
366 |
ER_ERROR_FIRST= 1000, |
|
367 |
ER_UNUSED1000= ER_ERROR_FIRST, |
|
368 |
ER_UNUSED1001, |
|
369 |
ER_NO, |
|
370 |
ER_YES, |
|
371 |
ER_CANT_CREATE_FILE, |
|
372 |
ER_CANT_CREATE_TABLE, |
|
373 |
ER_CANT_CREATE_DB, |
|
374 |
ER_DB_CREATE_EXISTS, |
|
375 |
ER_DB_DROP_EXISTS, |
|
376 |
ER_DB_DROP_DELETE, |
|
377 |
ER_DB_DROP_RMDIR, |
|
378 |
ER_CANT_DELETE_FILE, |
|
379 |
ER_CANT_FIND_SYSTEM_REC, |
|
380 |
ER_CANT_GET_STAT, |
|
381 |
ER_CANT_GET_WD, |
|
382 |
ER_CANT_LOCK, |
|
383 |
ER_CANT_OPEN_FILE, |
|
384 |
ER_FILE_NOT_FOUND, |
|
385 |
ER_CANT_READ_DIR, |
|
386 |
ER_CANT_SET_WD, |
|
387 |
ER_CHECKREAD, |
|
388 |
ER_DISK_FULL, |
|
389 |
ER_DUP_KEY, |
|
390 |
ER_ERROR_ON_CLOSE, |
|
391 |
ER_ERROR_ON_READ, |
|
392 |
ER_ERROR_ON_RENAME, |
|
393 |
ER_ERROR_ON_WRITE, |
|
394 |
ER_FILE_USED, |
|
395 |
ER_FILSORT_ABORT, |
|
396 |
ER_FORM_NOT_FOUND, |
|
397 |
ER_GET_ERRNO, |
|
398 |
ER_ILLEGAL_HA, |
|
399 |
ER_KEY_NOT_FOUND, |
|
400 |
ER_NOT_FORM_FILE, |
|
401 |
ER_NOT_KEYFILE, |
|
402 |
ER_OLD_KEYFILE, |
|
403 |
ER_OPEN_AS_READONLY, |
|
404 |
ER_OUTOFMEMORY, |
|
405 |
ER_OUT_OF_SORTMEMORY, |
|
406 |
ER_UNEXPECTED_EOF, |
|
407 |
ER_CON_COUNT_ERROR, |
|
408 |
ER_OUT_OF_RESOURCES, |
|
409 |
ER_BAD_HOST_ERROR, |
|
410 |
ER_HANDSHAKE_ERROR, |
|
411 |
ER_DBACCESS_DENIED_ERROR, |
|
412 |
ER_ACCESS_DENIED_ERROR, |
|
413 |
ER_NO_DB_ERROR, |
|
414 |
ER_UNKNOWN_COM_ERROR, |
|
415 |
ER_BAD_NULL_ERROR, |
|
416 |
ER_BAD_DB_ERROR, |
|
417 |
ER_TABLE_EXISTS_ERROR, |
|
418 |
ER_BAD_TABLE_ERROR, |
|
419 |
ER_NON_UNIQ_ERROR, |
|
420 |
ER_SERVER_SHUTDOWN, |
|
421 |
ER_BAD_FIELD_ERROR, |
|
422 |
ER_WRONG_FIELD_WITH_GROUP, |
|
423 |
ER_WRONG_GROUP_FIELD, |
|
424 |
ER_WRONG_SUM_SELECT, |
|
425 |
ER_WRONG_VALUE_COUNT, |
|
426 |
ER_TOO_LONG_IDENT, |
|
427 |
ER_DUP_FIELDNAME, |
|
428 |
ER_DUP_KEYNAME, |
|
429 |
ER_DUP_ENTRY, |
|
430 |
ER_WRONG_FIELD_SPEC, |
|
431 |
ER_PARSE_ERROR, |
|
432 |
ER_EMPTY_QUERY, |
|
433 |
ER_NONUNIQ_TABLE, |
|
434 |
ER_INVALID_DEFAULT, |
|
435 |
ER_MULTIPLE_PRI_KEY, |
|
436 |
ER_TOO_MANY_KEYS, |
|
437 |
ER_TOO_MANY_KEY_PARTS, |
|
438 |
ER_TOO_LONG_KEY, |
|
439 |
ER_KEY_COLUMN_DOES_NOT_EXITS, |
|
440 |
ER_BLOB_USED_AS_KEY, |
|
441 |
ER_TOO_BIG_FIELDLENGTH, |
|
442 |
ER_WRONG_AUTO_KEY, |
|
443 |
ER_READY, |
|
444 |
ER_NORMAL_SHUTDOWN, |
|
445 |
ER_GOT_SIGNAL, |
|
446 |
ER_SHUTDOWN_COMPLETE, |
|
447 |
ER_FORCING_CLOSE, |
|
448 |
ER_IPSOCK_ERROR, |
|
449 |
ER_NO_SUCH_INDEX, |
|
450 |
ER_WRONG_FIELD_TERMINATORS, |
|
451 |
ER_BLOBS_AND_NO_TERMINATED, |
|
452 |
ER_TEXTFILE_NOT_READABLE, |
|
453 |
ER_FILE_EXISTS_ERROR, |
|
454 |
ER_LOAD_INFO, |
|
455 |
ER_ALTER_INFO, |
|
456 |
ER_WRONG_SUB_KEY, |
|
457 |
ER_CANT_REMOVE_ALL_FIELDS, |
|
458 |
ER_CANT_DROP_FIELD_OR_KEY, |
|
459 |
ER_INSERT_INFO, |
|
460 |
ER_UPDATE_TABLE_USED, |
|
461 |
ER_NO_SUCH_THREAD, |
|
462 |
ER_KILL_DENIED_ERROR, |
|
463 |
ER_NO_TABLES_USED, |
|
464 |
ER_TOO_BIG_SET, |
|
465 |
ER_NO_UNIQUE_LOGFILE, |
|
466 |
ER_TABLE_NOT_LOCKED_FOR_WRITE, |
|
467 |
ER_TABLE_NOT_LOCKED, |
|
468 |
ER_BLOB_CANT_HAVE_DEFAULT, |
|
469 |
ER_WRONG_DB_NAME, |
|
470 |
ER_WRONG_TABLE_NAME, |
|
471 |
ER_TOO_BIG_SELECT, |
|
472 |
ER_UNKNOWN_ERROR, |
|
473 |
ER_UNKNOWN_PROCEDURE, |
|
474 |
ER_WRONG_PARAMCOUNT_TO_PROCEDURE, |
|
475 |
ER_WRONG_PARAMETERS_TO_PROCEDURE, |
|
476 |
ER_UNKNOWN_TABLE, |
|
477 |
ER_FIELD_SPECIFIED_TWICE, |
|
478 |
ER_INVALID_GROUP_FUNC_USE, |
|
479 |
ER_UNSUPPORTED_EXTENSION, |
|
480 |
ER_TABLE_MUST_HAVE_COLUMNS, |
|
481 |
ER_RECORD_FILE_FULL, |
|
482 |
ER_UNKNOWN_CHARACTER_SET, |
|
483 |
ER_TOO_MANY_TABLES, |
|
484 |
ER_TOO_MANY_FIELDS, |
|
485 |
ER_TOO_BIG_ROWSIZE, |
|
486 |
ER_STACK_OVERRUN, |
|
487 |
ER_WRONG_OUTER_JOIN, |
|
488 |
ER_NULL_COLUMN_IN_INDEX, |
|
489 |
ER_CANT_FIND_UDF, |
|
490 |
ER_CANT_INITIALIZE_UDF, |
|
491 |
ER_PLUGIN_NO_PATHS, |
|
492 |
ER_PLUGIN_EXISTS, |
|
493 |
ER_CANT_OPEN_LIBRARY, |
|
494 |
ER_CANT_FIND_DL_ENTRY, |
|
495 |
ER_FUNCTION_NOT_DEFINED, |
|
496 |
ER_HOST_IS_BLOCKED, |
|
497 |
ER_HOST_NOT_PRIVILEGED, |
|
498 |
ER_PASSWORD_ANONYMOUS_USER, |
|
499 |
ER_PASSWORD_NOT_ALLOWED, |
|
500 |
ER_PASSWORD_NO_MATCH, |
|
501 |
ER_UPDATE_INFO, |
|
502 |
ER_CANT_CREATE_THREAD, |
|
503 |
ER_WRONG_VALUE_COUNT_ON_ROW, |
|
504 |
ER_CANT_REOPEN_TABLE, |
|
505 |
ER_INVALID_USE_OF_NULL, |
|
506 |
ER_REGEXP_ERROR, |
|
507 |
ER_MIX_OF_GROUP_FUNC_AND_FIELDS, |
|
508 |
ER_NONEXISTING_GRANT, |
|
509 |
ER_TABLEACCESS_DENIED_ERROR, |
|
510 |
ER_COLUMNACCESS_DENIED_ERROR, |
|
511 |
ER_ILLEGAL_GRANT_FOR_TABLE, |
|
512 |
ER_GRANT_WRONG_HOST_OR_USER, |
|
513 |
ER_NO_SUCH_TABLE, |
|
514 |
ER_NONEXISTING_TABLE_GRANT, |
|
515 |
ER_NOT_ALLOWED_COMMAND, |
|
516 |
ER_SYNTAX_ERROR, |
|
517 |
ER_DELAYED_CANT_CHANGE_LOCK, |
|
518 |
ER_TOO_MANY_DELAYED_THREADS, |
|
519 |
ER_ABORTING_CONNECTION, |
|
520 |
ER_NET_PACKET_TOO_LARGE, |
|
521 |
ER_NET_READ_ERROR_FROM_PIPE, |
|
522 |
ER_NET_FCNTL_ERROR, |
|
523 |
ER_NET_PACKETS_OUT_OF_ORDER, |
|
524 |
ER_NET_UNCOMPRESS_ERROR, |
|
525 |
ER_NET_READ_ERROR, |
|
526 |
ER_NET_READ_INTERRUPTED, |
|
527 |
ER_NET_ERROR_ON_WRITE, |
|
528 |
ER_NET_WRITE_INTERRUPTED, |
|
529 |
ER_TOO_LONG_STRING, |
|
530 |
ER_TABLE_CANT_HANDLE_BLOB, |
|
531 |
ER_TABLE_CANT_HANDLE_AUTO_INCREMENT, |
|
532 |
ER_DELAYED_INSERT_TABLE_LOCKED, |
|
533 |
ER_WRONG_COLUMN_NAME, |
|
534 |
ER_WRONG_KEY_COLUMN, |
|
535 |
ER_WRONG_MRG_TABLE, |
|
536 |
ER_DUP_UNIQUE, |
|
537 |
ER_BLOB_KEY_WITHOUT_LENGTH, |
|
538 |
ER_PRIMARY_CANT_HAVE_NULL, |
|
539 |
ER_TOO_MANY_ROWS, |
|
540 |
ER_REQUIRES_PRIMARY_KEY, |
|
541 |
ER_NO_RAID_COMPILED, |
|
542 |
ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE, |
|
543 |
ER_KEY_DOES_NOT_EXITS, |
|
544 |
ER_CHECK_NO_SUCH_TABLE, |
|
545 |
ER_CHECK_NOT_IMPLEMENTED, |
|
546 |
ER_CANT_DO_THIS_DURING_AN_TRANSACTION, |
|
547 |
ER_ERROR_DURING_COMMIT, |
|
548 |
ER_ERROR_DURING_ROLLBACK, |
|
549 |
ER_ERROR_DURING_FLUSH_LOGS, |
|
550 |
ER_ERROR_DURING_CHECKPOINT, |
|
551 |
ER_NEW_ABORTING_CONNECTION, |
|
552 |
ER_DUMP_NOT_IMPLEMENTED, |
|
553 |
ER_FLUSH_MASTER_BINLOG_CLOSED, |
|
554 |
ER_INDEX_REBUILD, |
|
555 |
ER_MASTER, |
|
556 |
ER_MASTER_NET_READ, |
|
557 |
ER_MASTER_NET_WRITE, |
|
558 |
ER_FT_MATCHING_KEY_NOT_FOUND, |
|
559 |
ER_LOCK_OR_ACTIVE_TRANSACTION, |
|
560 |
ER_UNKNOWN_SYSTEM_VARIABLE, |
|
561 |
ER_CRASHED_ON_USAGE, |
|
562 |
ER_CRASHED_ON_REPAIR, |
|
563 |
ER_WARNING_NOT_COMPLETE_ROLLBACK, |
|
564 |
ER_TRANS_CACHE_FULL, |
|
565 |
ER_SLAVE_MUST_STOP, |
|
566 |
ER_SLAVE_NOT_RUNNING, |
|
567 |
ER_BAD_SLAVE, |
|
568 |
ER_MASTER_INFO, |
|
569 |
ER_SLAVE_THREAD, |
|
570 |
ER_TOO_MANY_USER_CONNECTIONS, |
|
571 |
ER_SET_CONSTANTS_ONLY, |
|
572 |
ER_LOCK_WAIT_TIMEOUT, |
|
573 |
ER_LOCK_TABLE_FULL, |
|
574 |
ER_READ_ONLY_TRANSACTION, |
|
575 |
ER_DROP_DB_WITH_READ_LOCK, |
|
576 |
ER_CREATE_DB_WITH_READ_LOCK, |
|
577 |
ER_WRONG_ARGUMENTS, |
|
578 |
ER_NO_PERMISSION_TO_CREATE_USER, |
|
579 |
ER_UNION_TABLES_IN_DIFFERENT_DIR, |
|
580 |
ER_LOCK_DEADLOCK, |
|
581 |
ER_TABLE_CANT_HANDLE_FT, |
|
582 |
ER_CANNOT_ADD_FOREIGN, |
|
583 |
ER_NO_REFERENCED_ROW, |
|
584 |
ER_ROW_IS_REFERENCED, |
|
585 |
ER_CONNECT_TO_MASTER, |
|
586 |
ER_QUERY_ON_MASTER, |
|
587 |
ER_ERROR_WHEN_EXECUTING_COMMAND, |
|
588 |
ER_WRONG_USAGE, |
|
589 |
ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT, |
|
590 |
ER_CANT_UPDATE_WITH_READLOCK, |
|
591 |
ER_MIXING_NOT_ALLOWED, |
|
592 |
ER_DUP_ARGUMENT, |
|
593 |
ER_USER_LIMIT_REACHED, |
|
594 |
ER_SPECIFIC_ACCESS_DENIED_ERROR, |
|
595 |
ER_LOCAL_VARIABLE, |
|
596 |
ER_GLOBAL_VARIABLE, |
|
597 |
ER_NO_DEFAULT, |
|
598 |
ER_WRONG_VALUE_FOR_VAR, |
|
599 |
ER_WRONG_TYPE_FOR_VAR, |
|
600 |
ER_VAR_CANT_BE_READ, |
|
601 |
ER_CANT_USE_OPTION_HERE, |
|
602 |
ER_NOT_SUPPORTED_YET, |
|
603 |
ER_MASTER_FATAL_ERROR_READING_BINLOG, |
|
604 |
ER_SLAVE_IGNORED_TABLE, |
|
605 |
ER_INCORRECT_GLOBAL_LOCAL_VAR, |
|
606 |
ER_WRONG_FK_DEF, |
|
607 |
ER_KEY_REF_DO_NOT_MATCH_TABLE_REF, |
|
608 |
ER_OPERAND_COLUMNS, |
|
609 |
ER_SUBQUERY_NO_1_ROW, |
|
610 |
ER_UNKNOWN_STMT_HANDLER, |
|
611 |
ER_CORRUPT_HELP_DB, |
|
612 |
ER_CYCLIC_REFERENCE, |
|
613 |
ER_AUTO_CONVERT, |
|
614 |
ER_ILLEGAL_REFERENCE, |
|
615 |
ER_DERIVED_MUST_HAVE_ALIAS, |
|
616 |
ER_SELECT_REDUCED, |
|
617 |
ER_TABLENAME_NOT_ALLOWED_HERE, |
|
618 |
ER_NOT_SUPPORTED_AUTH_MODE, |
|
619 |
ER_SPATIAL_CANT_HAVE_NULL, |
|
620 |
ER_COLLATION_CHARSET_MISMATCH, |
|
621 |
ER_SLAVE_WAS_RUNNING, |
|
622 |
ER_SLAVE_WAS_NOT_RUNNING, |
|
623 |
ER_TOO_BIG_FOR_UNCOMPRESS, |
|
624 |
ER_ZLIB_Z_MEM_ERROR, |
|
625 |
ER_ZLIB_Z_BUF_ERROR, |
|
626 |
ER_ZLIB_Z_DATA_ERROR, |
|
627 |
ER_CUT_VALUE_GROUP_CONCAT, |
|
628 |
ER_WARN_TOO_FEW_RECORDS, |
|
629 |
ER_WARN_TOO_MANY_RECORDS, |
|
630 |
ER_WARN_NULL_TO_NOTNULL, |
|
631 |
ER_WARN_DATA_OUT_OF_RANGE, |
|
632 |
ER_WARN_DATA_TRUNCATED, |
|
633 |
ER_WARN_USING_OTHER_HANDLER, |
|
634 |
ER_CANT_AGGREGATE_2COLLATIONS, |
|
635 |
ER_DROP_USER, |
|
636 |
ER_REVOKE_GRANTS, |
|
637 |
ER_CANT_AGGREGATE_3COLLATIONS, |
|
638 |
ER_CANT_AGGREGATE_NCOLLATIONS, |
|
639 |
ER_VARIABLE_IS_NOT_STRUCT, |
|
640 |
ER_UNKNOWN_COLLATION, |
|
641 |
ER_SLAVE_IGNORED_SSL_PARAMS, |
|
642 |
ER_SERVER_IS_IN_SECURE_AUTH_MODE, |
|
643 |
ER_WARN_FIELD_RESOLVED, |
|
644 |
ER_BAD_SLAVE_UNTIL_COND, |
|
645 |
ER_MISSING_SKIP_SLAVE, |
|
646 |
ER_UNTIL_COND_IGNORED, |
|
647 |
ER_WRONG_NAME_FOR_INDEX, |
|
648 |
ER_WRONG_NAME_FOR_CATALOG, |
|
649 |
ER_WARN_QC_RESIZE, |
|
650 |
ER_BAD_FT_COLUMN, |
|
651 |
ER_UNKNOWN_KEY_CACHE, |
|
652 |
ER_WARN_HOSTNAME_WONT_WORK, |
|
653 |
ER_UNKNOWN_STORAGE_ENGINE, |
|
654 |
ER_WARN_DEPRECATED_SYNTAX, |
|
655 |
ER_NON_UPDATABLE_TABLE, |
|
656 |
ER_FEATURE_DISABLED, |
|
657 |
ER_OPTION_PREVENTS_STATEMENT, |
|
658 |
ER_DUPLICATED_VALUE_IN_TYPE, |
|
659 |
ER_TRUNCATED_WRONG_VALUE, |
|
660 |
ER_TOO_MUCH_AUTO_TIMESTAMP_COLS, |
|
661 |
ER_INVALID_ON_UPDATE, |
|
662 |
ER_UNSUPPORTED_PS, |
|
663 |
ER_GET_ERRMSG, |
|
664 |
ER_GET_TEMPORARY_ERRMSG, |
|
665 |
ER_UNKNOWN_TIME_ZONE, |
|
666 |
ER_WARN_INVALID_TIMESTAMP, |
|
667 |
ER_INVALID_CHARACTER_STRING, |
|
668 |
ER_WARN_ALLOWED_PACKET_OVERFLOWED, |
|
669 |
ER_CONFLICTING_DECLARATIONS, |
|
670 |
ER_SP_NO_RECURSIVE_CREATE, |
|
671 |
ER_SP_ALREADY_EXISTS, |
|
672 |
ER_SP_DOES_NOT_EXIST, |
|
673 |
ER_SP_DROP_FAILED, |
|
674 |
ER_SP_STORE_FAILED, |
|
675 |
ER_SP_LILABEL_MISMATCH, |
|
676 |
ER_SP_LABEL_REDEFINE, |
|
677 |
ER_SP_LABEL_MISMATCH, |
|
678 |
ER_SP_UNINIT_VAR, |
|
679 |
ER_SP_BADSELECT, |
|
680 |
ER_SP_BADRETURN, |
|
681 |
ER_SP_BADSTATEMENT, |
|
682 |
ER_UPDATE_LOG_DEPRECATED_IGNORED, |
|
683 |
ER_UPDATE_LOG_DEPRECATED_TRANSLATED, |
|
684 |
ER_QUERY_INTERRUPTED, |
|
685 |
ER_SP_WRONG_NO_OF_ARGS, |
|
686 |
ER_SP_COND_MISMATCH, |
|
687 |
ER_SP_NORETURN, |
|
688 |
ER_SP_NORETURNEND, |
|
689 |
ER_SP_BAD_CURSOR_QUERY, |
|
690 |
ER_SP_BAD_CURSOR_SELECT, |
|
691 |
ER_SP_CURSOR_MISMATCH, |
|
692 |
ER_SP_CURSOR_ALREADY_OPEN, |
|
693 |
ER_SP_CURSOR_NOT_OPEN, |
|
694 |
ER_SP_UNDECLARED_VAR, |
|
695 |
ER_SP_WRONG_NO_OF_FETCH_ARGS, |
|
696 |
ER_SP_FETCH_NO_DATA, |
|
697 |
ER_SP_DUP_PARAM, |
|
698 |
ER_SP_DUP_VAR, |
|
699 |
ER_SP_DUP_COND, |
|
700 |
ER_SP_DUP_CURS, |
|
701 |
ER_SP_CANT_ALTER, |
|
702 |
ER_SP_SUBSELECT_NYI, |
|
703 |
ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG, |
|
704 |
ER_SP_VARCOND_AFTER_CURSHNDLR, |
|
705 |
ER_SP_CURSOR_AFTER_HANDLER, |
|
706 |
ER_SP_CASE_NOT_FOUND, |
|
707 |
ER_FPARSER_TOO_BIG_FILE, |
|
708 |
ER_FPARSER_BAD_HEADER, |
|
709 |
ER_FPARSER_EOF_IN_COMMENT, |
|
710 |
ER_FPARSER_ERROR_IN_PARAMETER, |
|
711 |
ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER, |
|
712 |
ER_VIEW_NO_EXPLAIN, |
|
713 |
ER_UNUSED1346, |
|
714 |
ER_WRONG_OBJECT, |
|
715 |
ER_NONUPDATEABLE_COLUMN, |
|
716 |
ER_VIEW_SELECT_DERIVED, |
|
717 |
ER_VIEW_SELECT_CLAUSE, |
|
718 |
ER_VIEW_SELECT_VARIABLE, |
|
719 |
ER_VIEW_SELECT_TMPTABLE, |
|
720 |
ER_VIEW_WRONG_LIST, |
|
721 |
ER_WARN_VIEW_MERGE, |
|
722 |
ER_WARN_VIEW_WITHOUT_KEY, |
|
723 |
ER_VIEW_INVALID, |
|
724 |
ER_SP_NO_DROP_SP, |
|
725 |
ER_SP_GOTO_IN_HNDLR, |
|
726 |
ER_TRG_ALREADY_EXISTS, |
|
727 |
ER_TRG_DOES_NOT_EXIST, |
|
728 |
ER_TRG_ON_VIEW_OR_TEMP_TABLE, |
|
729 |
ER_TRG_CANT_CHANGE_ROW, |
|
730 |
ER_TRG_NO_SUCH_ROW_IN_TRG, |
|
731 |
ER_NO_DEFAULT_FOR_FIELD, |
|
732 |
ER_DIVISION_BY_ZERO, |
|
733 |
ER_TRUNCATED_WRONG_VALUE_FOR_FIELD, |
|
734 |
ER_ILLEGAL_VALUE_FOR_TYPE, |
|
735 |
ER_VIEW_NONUPD_CHECK, |
|
736 |
ER_VIEW_CHECK_FAILED, |
|
737 |
ER_PROCACCESS_DENIED_ERROR, |
|
738 |
ER_RELAY_LOG_FAIL, |
|
739 |
ER_PASSWD_LENGTH, |
|
740 |
ER_UNKNOWN_TARGET_BINLOG, |
|
741 |
ER_IO_ERR_LOG_INDEX_READ, |
|
742 |
ER_BINLOG_PURGE_PROHIBITED, |
|
743 |
ER_FSEEK_FAIL, |
|
744 |
ER_BINLOG_PURGE_FATAL_ERR, |
|
745 |
ER_LOG_IN_USE, |
|
746 |
ER_LOG_PURGE_UNKNOWN_ERR, |
|
747 |
ER_RELAY_LOG_INIT, |
|
748 |
ER_NO_BINARY_LOGGING, |
|
749 |
ER_RESERVED_SYNTAX, |
|
750 |
ER_WSAS_FAILED, |
|
751 |
ER_DIFF_GROUPS_PROC, |
|
752 |
ER_NO_GROUP_FOR_PROC, |
|
753 |
ER_ORDER_WITH_PROC, |
|
754 |
ER_LOGGING_PROHIBIT_CHANGING_OF, |
|
755 |
ER_NO_FILE_MAPPING, |
|
756 |
ER_WRONG_MAGIC, |
|
757 |
ER_PS_MANY_PARAM, |
|
758 |
ER_KEY_PART_0, |
|
759 |
ER_VIEW_CHECKSUM, |
|
760 |
ER_VIEW_MULTIUPDATE, |
|
761 |
ER_VIEW_NO_INSERT_FIELD_LIST, |
|
762 |
ER_VIEW_DELETE_MERGE_VIEW, |
|
763 |
ER_CANNOT_USER, |
|
764 |
ER_XAER_NOTA, |
|
765 |
ER_XAER_INVAL, |
|
766 |
ER_XAER_RMFAIL, |
|
767 |
ER_XAER_OUTSIDE, |
|
768 |
ER_XAER_RMERR, |
|
769 |
ER_XA_RBROLLBACK, |
|
770 |
ER_NONEXISTING_PROC_GRANT, |
|
771 |
ER_PROC_AUTO_GRANT_FAIL, |
|
772 |
ER_PROC_AUTO_REVOKE_FAIL, |
|
773 |
ER_DATA_TOO_LONG, |
|
774 |
ER_SP_BAD_SQLSTATE, |
|
775 |
ER_STARTUP, |
|
776 |
ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR, |
|
777 |
ER_CANT_CREATE_USER_WITH_GRANT, |
|
778 |
ER_WRONG_VALUE_FOR_TYPE, |
|
779 |
ER_TABLE_DEF_CHANGED, |
|
780 |
ER_SP_DUP_HANDLER, |
|
781 |
ER_SP_NOT_VAR_ARG, |
|
782 |
ER_SP_NO_RETSET, |
|
783 |
ER_CANT_CREATE_GEOMETRY_OBJECT, |
|
784 |
ER_FAILED_ROUTINE_BREAK_BINLOG, |
|
785 |
ER_BINLOG_UNSAFE_ROUTINE, |
|
786 |
ER_BINLOG_CREATE_ROUTINE_NEED_SUPER, |
|
787 |
ER_EXEC_STMT_WITH_OPEN_CURSOR, |
|
788 |
ER_STMT_HAS_NO_OPEN_CURSOR, |
|
789 |
ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG, |
|
790 |
ER_NO_DEFAULT_FOR_VIEW_FIELD, |
|
791 |
ER_SP_NO_RECURSION, |
|
792 |
ER_TOO_BIG_SCALE, |
|
793 |
ER_TOO_BIG_PRECISION, |
|
794 |
ER_M_BIGGER_THAN_D, |
|
795 |
ER_WRONG_LOCK_OF_SYSTEM_TABLE, |
|
796 |
ER_CONNECT_TO_FOREIGN_DATA_SOURCE, |
|
797 |
ER_QUERY_ON_FOREIGN_DATA_SOURCE, |
|
798 |
ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST, |
|
799 |
ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE, |
|
800 |
ER_FOREIGN_DATA_STRING_INVALID, |
|
801 |
ER_CANT_CREATE_FEDERATED_TABLE, |
|
802 |
ER_TRG_IN_WRONG_SCHEMA, |
|
803 |
ER_STACK_OVERRUN_NEED_MORE=1436, // TODO: Test case looks for this int |
|
804 |
ER_TOO_LONG_BODY, |
|
805 |
ER_WARN_CANT_DROP_DEFAULT_KEYCACHE, |
|
806 |
ER_TOO_BIG_DISPLAYWIDTH, |
|
807 |
ER_XAER_DUPID, |
|
808 |
ER_DATETIME_FUNCTION_OVERFLOW, |
|
809 |
ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG, |
|
810 |
ER_VIEW_PREVENT_UPDATE, |
|
811 |
ER_PS_NO_RECURSION, |
|
812 |
ER_SP_CANT_SET_AUTOCOMMIT, |
|
813 |
ER_MALFORMED_DEFINER, |
|
814 |
ER_VIEW_FRM_NO_USER, |
|
815 |
ER_VIEW_OTHER_USER, |
|
816 |
ER_NO_SUCH_USER, |
|
817 |
ER_FORBID_SCHEMA_CHANGE, |
|
818 |
ER_ROW_IS_REFERENCED_2, |
|
819 |
ER_NO_REFERENCED_ROW_2, |
|
820 |
ER_SP_BAD_VAR_SHADOW, |
|
821 |
ER_TRG_NO_DEFINER, |
|
822 |
ER_OLD_FILE_FORMAT, |
|
823 |
ER_SP_RECURSION_LIMIT, |
|
824 |
ER_SP_PROC_TABLE_CORRUPT, |
|
825 |
ER_SP_WRONG_NAME, |
|
826 |
ER_TABLE_NEEDS_UPGRADE, |
|
827 |
ER_SP_NO_AGGREGATE, |
|
828 |
ER_MAX_PREPARED_STMT_COUNT_REACHED, |
|
829 |
ER_VIEW_RECURSIVE, |
|
830 |
ER_NON_GROUPING_FIELD_USED, |
|
831 |
ER_TABLE_CANT_HANDLE_SPKEYS, |
|
832 |
ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA, |
|
833 |
ER_REMOVED_SPACES, |
|
834 |
ER_AUTOINC_READ_FAILED, |
|
835 |
ER_USERNAME, |
|
836 |
ER_HOSTNAME, |
|
837 |
ER_WRONG_STRING_LENGTH, |
|
838 |
ER_NON_INSERTABLE_TABLE, |
|
839 |
ER_ADMIN_WRONG_MRG_TABLE, |
|
840 |
ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT, |
|
841 |
ER_NAME_BECOMES_EMPTY, |
|
842 |
ER_AMBIGUOUS_FIELD_TERM, |
|
843 |
ER_FOREIGN_SERVER_EXISTS, |
|
844 |
ER_FOREIGN_SERVER_DOESNT_EXIST, |
|
845 |
ER_ILLEGAL_HA_CREATE_OPTION, |
|
846 |
ER_PARTITION_REQUIRES_VALUES_ERROR, |
|
847 |
ER_PARTITION_WRONG_VALUES_ERROR, |
|
848 |
ER_PARTITION_MAXVALUE_ERROR, |
|
849 |
ER_PARTITION_SUBPARTITION_ERROR, |
|
850 |
ER_PARTITION_SUBPART_MIX_ERROR, |
|
851 |
ER_PARTITION_WRONG_NO_PART_ERROR, |
|
852 |
ER_PARTITION_WRONG_NO_SUBPART_ERROR, |
|
853 |
ER_CONST_EXPR_IN_PARTITION_FUNC_ERROR, |
|
854 |
ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR, |
|
855 |
ER_FIELD_NOT_FOUND_PART_ERROR, |
|
856 |
ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR, |
|
857 |
ER_INCONSISTENT_PARTITION_INFO_ERROR, |
|
858 |
ER_PARTITION_FUNC_NOT_ALLOWED_ERROR, |
|
859 |
ER_PARTITIONS_MUST_BE_DEFINED_ERROR, |
|
860 |
ER_RANGE_NOT_INCREASING_ERROR, |
|
861 |
ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR, |
|
862 |
ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR, |
|
863 |
ER_PARTITION_ENTRY_ERROR, |
|
864 |
ER_MIX_HANDLER_ERROR, |
|
865 |
ER_PARTITION_NOT_DEFINED_ERROR, |
|
866 |
ER_TOO_MANY_PARTITIONS_ERROR, |
|
867 |
ER_SUBPARTITION_ERROR, |
|
868 |
ER_CANT_CREATE_HANDLER_FILE, |
|
869 |
ER_BLOB_FIELD_IN_PART_FUNC_ERROR, |
|
870 |
ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF, |
|
871 |
ER_NO_PARTS_ERROR, |
|
872 |
ER_PARTITION_MGMT_ON_NONPARTITIONED, |
|
873 |
ER_FOREIGN_KEY_ON_PARTITIONED, |
|
874 |
ER_DROP_PARTITION_NON_EXISTENT, |
|
875 |
ER_DROP_LAST_PARTITION, |
|
876 |
ER_COALESCE_ONLY_ON_HASH_PARTITION, |
|
877 |
ER_REORG_HASH_ONLY_ON_SAME_NO, |
|
878 |
ER_REORG_NO_PARAM_ERROR, |
|
879 |
ER_ONLY_ON_RANGE_LIST_PARTITION, |
|
880 |
ER_ADD_PARTITION_SUBPART_ERROR, |
|
881 |
ER_ADD_PARTITION_NO_NEW_PARTITION, |
|
882 |
ER_COALESCE_PARTITION_NO_PARTITION, |
|
883 |
ER_REORG_PARTITION_NOT_EXIST, |
|
884 |
ER_SAME_NAME_PARTITION, |
|
885 |
ER_NO_BINLOG_ERROR, |
|
886 |
ER_CONSECUTIVE_REORG_PARTITIONS, |
|
887 |
ER_REORG_OUTSIDE_RANGE, |
|
888 |
ER_PARTITION_FUNCTION_FAILURE, |
|
889 |
ER_PART_STATE_ERROR, |
|
890 |
ER_LIMITED_PART_RANGE, |
|
891 |
ER_PLUGIN_IS_NOT_LOADED, |
|
892 |
ER_WRONG_VALUE, |
|
893 |
ER_NO_PARTITION_FOR_GIVEN_VALUE, |
|
894 |
ER_FILEGROUP_OPTION_ONLY_ONCE, |
|
895 |
ER_CREATE_FILEGROUP_FAILED, |
|
896 |
ER_DROP_FILEGROUP_FAILED, |
|
897 |
ER_TABLESPACE_AUTO_EXTEND_ERROR, |
|
898 |
ER_WRONG_SIZE_NUMBER, |
|
899 |
ER_SIZE_OVERFLOW_ERROR, |
|
900 |
ER_ALTER_FILEGROUP_FAILED, |
|
901 |
ER_BINLOG_ROW_LOGGING_FAILED, |
|
902 |
ER_BINLOG_ROW_WRONG_TABLE_DEF, |
|
903 |
ER_BINLOG_ROW_RBR_TO_SBR, |
|
904 |
ER_EVENT_ALREADY_EXISTS, |
|
905 |
ER_EVENT_STORE_FAILED, |
|
906 |
ER_EVENT_DOES_NOT_EXIST, |
|
907 |
ER_EVENT_CANT_ALTER, |
|
908 |
ER_EVENT_DROP_FAILED, |
|
909 |
ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG, |
|
910 |
ER_EVENT_ENDS_BEFORE_STARTS, |
|
911 |
ER_EVENT_EXEC_TIME_IN_THE_PAST, |
|
912 |
ER_EVENT_OPEN_TABLE_FAILED, |
|
913 |
ER_EVENT_NEITHER_M_EXPR_NOR_M_AT, |
|
914 |
ER_COL_COUNT_DOESNT_MATCH_CORRUPTED, |
|
915 |
ER_CANNOT_LOAD_FROM_TABLE, |
|
916 |
ER_EVENT_CANNOT_DELETE, |
|
917 |
ER_EVENT_COMPILE_ERROR, |
|
918 |
ER_EVENT_SAME_NAME, |
|
919 |
ER_EVENT_DATA_TOO_LONG, |
|
920 |
ER_DROP_INDEX_FK, |
|
921 |
ER_WARN_DEPRECATED_SYNTAX_WITH_VER, |
|
922 |
ER_CANT_WRITE_LOCK_LOG_TABLE, |
|
923 |
ER_CANT_LOCK_LOG_TABLE, |
|
924 |
ER_FOREIGN_DUPLICATE_KEY, |
|
925 |
ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE, |
|
926 |
ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR, |
|
927 |
ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT, |
|
928 |
ER_NDB_CANT_SWITCH_BINLOG_FORMAT, |
|
929 |
ER_PARTITION_NO_TEMPORARY, |
|
930 |
ER_PARTITION_CONST_DOMAIN_ERROR, |
|
931 |
ER_PARTITION_FUNCTION_IS_NOT_ALLOWED, |
|
932 |
ER_DDL_LOG_ERROR, |
|
933 |
ER_NULL_IN_VALUES_LESS_THAN, |
|
934 |
ER_WRONG_PARTITION_NAME, |
|
935 |
ER_CANT_CHANGE_TX_ISOLATION, |
|
936 |
ER_DUP_ENTRY_AUTOINCREMENT_CASE, |
|
937 |
ER_EVENT_MODIFY_QUEUE_ERROR, |
|
938 |
ER_EVENT_SET_VAR_ERROR, |
|
939 |
ER_PARTITION_MERGE_ERROR, |
|
940 |
ER_CANT_ACTIVATE_LOG, |
|
941 |
ER_RBR_NOT_AVAILABLE, |
|
942 |
ER_BASE64_DECODE_ERROR, |
|
943 |
ER_EVENT_RECURSION_FORBIDDEN, |
|
944 |
ER_EVENTS_DB_ERROR, |
|
945 |
ER_ONLY_INTEGERS_ALLOWED, |
|
946 |
ER_UNSUPORTED_LOG_ENGINE, |
|
947 |
ER_BAD_LOG_STATEMENT, |
|
948 |
ER_CANT_RENAME_LOG_TABLE, |
|
949 |
ER_WRONG_PARAMCOUNT_TO_FUNCTION, |
|
950 |
ER_WRONG_PARAMETERS_TO_NATIVE_FCT, |
|
951 |
ER_WRONG_PARAMETERS_TO_STORED_FCT, |
|
952 |
ER_NATIVE_FCT_NAME_COLLISION, |
|
953 |
ER_DUP_ENTRY_WITH_KEY_NAME, |
|
954 |
ER_BINLOG_PURGE_EMFILE, |
|
955 |
ER_EVENT_CANNOT_CREATE_IN_THE_PAST, |
|
956 |
ER_EVENT_CANNOT_ALTER_IN_THE_PAST, |
|
957 |
ER_SLAVE_INCIDENT, |
|
958 |
ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT, |
|
959 |
ER_BINLOG_UNSAFE_STATEMENT, |
|
960 |
ER_SLAVE_FATAL_ERROR, |
|
961 |
ER_SLAVE_RELAY_LOG_READ_FAILURE, |
|
962 |
ER_SLAVE_RELAY_LOG_WRITE_FAILURE, |
|
963 |
ER_SLAVE_CREATE_EVENT_FAILURE, |
|
964 |
ER_SLAVE_MASTER_COM_FAILURE, |
|
965 |
ER_BINLOG_LOGGING_IMPOSSIBLE, |
|
966 |
ER_VIEW_NO_CREATION_CTX, |
|
967 |
ER_VIEW_INVALID_CREATION_CTX, |
|
968 |
ER_SR_INVALID_CREATION_CTX, |
|
969 |
ER_TRG_CORRUPTED_FILE, |
|
970 |
ER_TRG_NO_CREATION_CTX, |
|
971 |
ER_TRG_INVALID_CREATION_CTX, |
|
972 |
ER_EVENT_INVALID_CREATION_CTX, |
|
973 |
ER_TRG_CANT_OPEN_TABLE, |
|
974 |
ER_CANT_CREATE_SROUTINE, |
|
975 |
ER_SLAVE_AMBIGOUS_EXEC_MODE, |
|
976 |
ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT, |
|
977 |
ER_SLAVE_CORRUPT_EVENT, |
|
978 |
ER_LOAD_DATA_INVALID_COLUMN, |
|
979 |
ER_LOG_PURGE_NO_FILE, |
|
980 |
ER_WARN_AUTO_CONVERT_LOCK, |
|
981 |
ER_NO_AUTO_CONVERT_LOCK_STRICT, |
|
982 |
ER_NO_AUTO_CONVERT_LOCK_TRANSACTION, |
|
983 |
ER_NO_STORAGE_ENGINE, |
|
984 |
ER_BACKUP_BACKUP_START, |
|
985 |
ER_BACKUP_BACKUP_DONE, |
|
986 |
ER_BACKUP_RESTORE_START, |
|
987 |
ER_BACKUP_RESTORE_DONE, |
|
988 |
ER_BACKUP_NOTHING_TO_BACKUP, |
|
989 |
ER_BACKUP_CANNOT_INCLUDE_DB, |
|
990 |
ER_BACKUP_BACKUP, |
|
991 |
ER_BACKUP_RESTORE, |
|
992 |
ER_BACKUP_RUNNING, |
|
993 |
ER_BACKUP_BACKUP_PREPARE, |
|
994 |
ER_BACKUP_RESTORE_PREPARE, |
|
995 |
ER_BACKUP_INVALID_LOC, |
|
996 |
ER_BACKUP_READ_LOC, |
|
997 |
ER_BACKUP_WRITE_LOC, |
|
998 |
ER_BACKUP_LIST_DBS, |
|
999 |
ER_BACKUP_LIST_TABLES, |
|
1000 |
ER_BACKUP_LIST_DB_TABLES, |
|
1001 |
ER_BACKUP_SKIP_VIEW, |
|
1002 |
ER_BACKUP_NO_ENGINE, |
|
1003 |
ER_BACKUP_TABLE_OPEN, |
|
1004 |
ER_BACKUP_READ_HEADER, |
|
1005 |
ER_BACKUP_WRITE_HEADER, |
|
1006 |
ER_BACKUP_NO_BACKUP_DRIVER, |
|
1007 |
ER_BACKUP_NOT_ACCEPTED, |
|
1008 |
ER_BACKUP_CREATE_BACKUP_DRIVER, |
|
1009 |
ER_BACKUP_CREATE_RESTORE_DRIVER, |
|
1010 |
ER_BACKUP_TOO_MANY_IMAGES, |
|
1011 |
ER_BACKUP_WRITE_META, |
|
1012 |
ER_BACKUP_READ_META, |
|
1013 |
ER_BACKUP_CREATE_META, |
|
1014 |
ER_BACKUP_GET_BUF, |
|
1015 |
ER_BACKUP_WRITE_DATA, |
|
1016 |
ER_BACKUP_READ_DATA, |
|
1017 |
ER_BACKUP_NEXT_CHUNK, |
|
1018 |
ER_BACKUP_INIT_BACKUP_DRIVER, |
|
1019 |
ER_BACKUP_INIT_RESTORE_DRIVER, |
|
1020 |
ER_BACKUP_STOP_BACKUP_DRIVER, |
|
1021 |
ER_BACKUP_STOP_RESTORE_DRIVERS, |
|
1022 |
ER_BACKUP_PREPARE_DRIVER, |
|
1023 |
ER_BACKUP_CREATE_VP, |
|
1024 |
ER_BACKUP_UNLOCK_DRIVER, |
|
1025 |
ER_BACKUP_CANCEL_BACKUP, |
|
1026 |
ER_BACKUP_CANCEL_RESTORE, |
|
1027 |
ER_BACKUP_GET_DATA, |
|
1028 |
ER_BACKUP_SEND_DATA, |
|
1029 |
ER_BACKUP_SEND_DATA_RETRY, |
|
1030 |
ER_BACKUP_OPEN_TABLES, |
|
1031 |
ER_BACKUP_THREAD_INIT, |
|
1032 |
ER_BACKUP_PROGRESS_TABLES, |
|
1033 |
ER_TABLESPACE_EXIST, |
|
1034 |
ER_NO_SUCH_TABLESPACE, |
|
1035 |
ER_SLAVE_HEARTBEAT_FAILURE, |
|
1036 |
ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE, |
|
1037 |
ER_BACKUP_LOG_WRITE_ERROR, |
|
1038 |
ER_TABLESPACE_NOT_EMPTY, |
|
1039 |
ER_BACKUP_TS_CHANGE, |
|
1040 |
ER_VCOL_BASED_ON_VCOL, |
|
1041 |
ER_VIRTUAL_COLUMN_FUNCTION_IS_NOT_ALLOWED, |
|
1042 |
ER_DATA_CONVERSION_ERROR_FOR_VIRTUAL_COLUMN, |
|
1043 |
ER_PRIMARY_KEY_BASED_ON_VIRTUAL_COLUMN, |
|
1044 |
ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN, |
|
1045 |
ER_WRONG_FK_OPTION_FOR_VIRTUAL_COLUMN, |
|
1046 |
ER_WARNING_NON_DEFAULT_VALUE_FOR_VIRTUAL_COLUMN, |
|
1047 |
ER_UNSUPPORTED_ACTION_ON_VIRTUAL_COLUMN, |
|
1048 |
ER_CONST_EXPR_IN_VCOL, |
|
1049 |
ER_UNKNOWN_TEMPORAL_TYPE, |
|
1050 |
ER_INVALID_STRING_FORMAT_FOR_DATE, |
|
1051 |
ER_INVALID_STRING_FORMAT_FOR_TIME, |
|
1052 |
ER_INVALID_UNIX_TIMESTAMP_VALUE, |
|
1053 |
ER_INVALID_DATETIME_VALUE, |
|
1054 |
ER_INVALID_NULL_ARGUMENT, |
|
1055 |
ER_INVALID_NEGATIVE_ARGUMENT, |
|
1056 |
ER_ARGUMENT_OUT_OF_RANGE, |
|
1057 |
ER_INVALID_TIME_VALUE, |
|
1058 |
ER_INVALID_ENUM_VALUE, |
|
1059 |
ER_NO_PRIMARY_KEY_ON_REPLICATED_TABLE, |
|
1271.7.19
by Tim Penhey
Missed an enum. |
1060 |
ER_CORRUPT_TABLE_DEFINITION, |
1271.7.21
by Monty Taylor
Merged trunk. |
1061 |
ER_SCHEMA_DOES_NOT_EXIST, |
1062 |
ER_ALTER_SCHEMA, |
|
1063 |
ER_DROP_SCHEMA, |
|
1271.7.19
by Tim Penhey
Missed an enum. |
1064 |
ER_ERROR_LAST= ER_CORRUPT_TABLE_DEFINITION |
1271.7.7
by Tim Penhey
Move the error enums into the enum header. |
1065 |
};
|
1066 |
||
1067 |
enum drizzle_exit_codes { |
|
1068 |
EXIT_UNSPECIFIED_ERROR = 1, |
|
1069 |
EXIT_UNKNOWN_OPTION, |
|
1070 |
EXIT_AMBIGUOUS_OPTION, |
|
1071 |
EXIT_NO_ARGUMENT_ALLOWED, |
|
1072 |
EXIT_ARGUMENT_REQUIRED, |
|
1073 |
EXIT_VAR_PREFIX_NOT_UNIQUE, |
|
1074 |
EXIT_UNKNOWN_VARIABLE, |
|
1075 |
EXIT_OUT_OF_MEMORY, |
|
1076 |
EXIT_UNKNOWN_SUFFIX, |
|
1077 |
EXIT_NO_PTR_TO_VARIABLE, |
|
1078 |
EXIT_CANNOT_CONNECT_TO_SERVICE, |
|
1079 |
EXIT_OPTION_DISABLED, |
|
1080 |
EXIT_ARGUMENT_INVALID
|
|
1081 |
};
|
|
1082 |
||
1083 |
||
1280.1.10
by Monty Taylor
Put everything in drizzled into drizzled namespace. |
1084 |
} /* namespace drizzled */ |
1085 |
||
1089.1.11
by Brian Aker
Cleanup on enum |
1086 |
#endif /* DRIZZLED_ENUM_H */ |