~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/error.h

MergedĀ inĀ remove-include-dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
 
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
 
3
 *
 
4
 *  Copyright (C) 2008 MySQL
 
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_error_h
 
22
#define _drizzled_error_h
 
23
 
 
24
enum drizzled_error_code {
 
25
  ER_ERROR_FIRST= 1000,
 
26
  ER_HASHCHK= 1000,
 
27
  ER_NISAMCHK,
 
28
  ER_NO,
 
29
  ER_YES,
 
30
  ER_CANT_CREATE_FILE,
 
31
  ER_CANT_CREATE_TABLE,
 
32
  ER_CANT_CREATE_DB,
 
33
  ER_DB_CREATE_EXISTS,
 
34
  ER_DB_DROP_EXISTS,
 
35
  ER_DB_DROP_DELETE,
 
36
  ER_DB_DROP_RMDIR,
 
37
  ER_CANT_DELETE_FILE,
 
38
  ER_CANT_FIND_SYSTEM_REC,
 
39
  ER_CANT_GET_STAT,
 
40
  ER_CANT_GET_WD,
 
41
  ER_CANT_LOCK,
 
42
  ER_CANT_OPEN_FILE,
 
43
  ER_FILE_NOT_FOUND,
 
44
  ER_CANT_READ_DIR,
 
45
  ER_CANT_SET_WD,
 
46
  ER_CHECKREAD,
 
47
  ER_DISK_FULL,
 
48
  ER_DUP_KEY,
 
49
  ER_ERROR_ON_CLOSE,
 
50
  ER_ERROR_ON_READ,
 
51
  ER_ERROR_ON_RENAME,
 
52
  ER_ERROR_ON_WRITE,
 
53
  ER_FILE_USED,
 
54
  ER_FILSORT_ABORT,
 
55
  ER_FORM_NOT_FOUND,
 
56
  ER_GET_ERRNO,
 
57
  ER_ILLEGAL_HA,
 
58
  ER_KEY_NOT_FOUND,
 
59
  ER_NOT_FORM_FILE,
 
60
  ER_NOT_KEYFILE,
 
61
  ER_OLD_KEYFILE,
 
62
  ER_OPEN_AS_READONLY,
 
63
  ER_OUTOFMEMORY,
 
64
  ER_OUT_OF_SORTMEMORY,
 
65
  ER_UNEXPECTED_EOF,
 
66
  ER_CON_COUNT_ERROR,
 
67
  ER_OUT_OF_RESOURCES,
 
68
  ER_BAD_HOST_ERROR,
 
69
  ER_HANDSHAKE_ERROR,
 
70
  ER_DBACCESS_DENIED_ERROR,
 
71
  ER_ACCESS_DENIED_ERROR,
 
72
  ER_NO_DB_ERROR,
 
73
  ER_UNKNOWN_COM_ERROR,
 
74
  ER_BAD_NULL_ERROR,
 
75
  ER_BAD_DB_ERROR,
 
76
  ER_TABLE_EXISTS_ERROR,
 
77
  ER_BAD_TABLE_ERROR,
 
78
  ER_NON_UNIQ_ERROR,
 
79
  ER_SERVER_SHUTDOWN,
 
80
  ER_BAD_FIELD_ERROR,
 
81
  ER_WRONG_FIELD_WITH_GROUP,
 
82
  ER_WRONG_GROUP_FIELD,
 
83
  ER_WRONG_SUM_SELECT,
 
84
  ER_WRONG_VALUE_COUNT,
 
85
  ER_TOO_LONG_IDENT,
 
86
  ER_DUP_FIELDNAME,
 
87
  ER_DUP_KEYNAME,
 
88
  ER_DUP_ENTRY,
 
89
  ER_WRONG_FIELD_SPEC,
 
90
  ER_PARSE_ERROR,
 
91
  ER_EMPTY_QUERY,
 
92
  ER_NONUNIQ_TABLE,
 
93
  ER_INVALID_DEFAULT,
 
94
  ER_MULTIPLE_PRI_KEY,
 
95
  ER_TOO_MANY_KEYS,
 
96
  ER_TOO_MANY_KEY_PARTS,
 
97
  ER_TOO_LONG_KEY,
 
98
  ER_KEY_COLUMN_DOES_NOT_EXITS,
 
99
  ER_BLOB_USED_AS_KEY,
 
100
  ER_TOO_BIG_FIELDLENGTH,
 
101
  ER_WRONG_AUTO_KEY,
 
102
  ER_READY,
 
103
  ER_NORMAL_SHUTDOWN,
 
104
  ER_GOT_SIGNAL,
 
105
  ER_SHUTDOWN_COMPLETE,
 
106
  ER_FORCING_CLOSE,
 
107
  ER_IPSOCK_ERROR,
 
108
  ER_NO_SUCH_INDEX,
 
109
  ER_WRONG_FIELD_TERMINATORS,
 
110
  ER_BLOBS_AND_NO_TERMINATED,
 
111
  ER_TEXTFILE_NOT_READABLE,
 
112
  ER_FILE_EXISTS_ERROR,
 
113
  ER_LOAD_INFO,
 
114
  ER_ALTER_INFO,
 
115
  ER_WRONG_SUB_KEY,
 
116
  ER_CANT_REMOVE_ALL_FIELDS,
 
117
  ER_CANT_DROP_FIELD_OR_KEY,
 
118
  ER_INSERT_INFO,
 
119
  ER_UPDATE_TABLE_USED,
 
120
  ER_NO_SUCH_THREAD,
 
121
  ER_KILL_DENIED_ERROR,
 
122
  ER_NO_TABLES_USED,
 
123
  ER_TOO_BIG_SET,
 
124
  ER_NO_UNIQUE_LOGFILE,
 
125
  ER_TABLE_NOT_LOCKED_FOR_WRITE,
 
126
  ER_TABLE_NOT_LOCKED,
 
127
  ER_BLOB_CANT_HAVE_DEFAULT,
 
128
  ER_WRONG_DB_NAME,
 
129
  ER_WRONG_TABLE_NAME,
 
130
  ER_TOO_BIG_SELECT,
 
131
  ER_UNKNOWN_ERROR,
 
132
  ER_UNKNOWN_PROCEDURE,
 
133
  ER_WRONG_PARAMCOUNT_TO_PROCEDURE,
 
134
  ER_WRONG_PARAMETERS_TO_PROCEDURE,
 
135
  ER_UNKNOWN_TABLE,
 
136
  ER_FIELD_SPECIFIED_TWICE,
 
137
  ER_INVALID_GROUP_FUNC_USE,
 
138
  ER_UNSUPPORTED_EXTENSION,
 
139
  ER_TABLE_MUST_HAVE_COLUMNS,
 
140
  ER_RECORD_FILE_FULL,
 
141
  ER_UNKNOWN_CHARACTER_SET,
 
142
  ER_TOO_MANY_TABLES,
 
143
  ER_TOO_MANY_FIELDS,
 
144
  ER_TOO_BIG_ROWSIZE,
 
145
  ER_STACK_OVERRUN,
 
146
  ER_WRONG_OUTER_JOIN,
 
147
  ER_NULL_COLUMN_IN_INDEX,
 
148
  ER_CANT_FIND_UDF,
 
149
  ER_CANT_INITIALIZE_UDF,
 
150
  ER_UDF_NO_PATHS,
 
151
  ER_UDF_EXISTS,
 
152
  ER_CANT_OPEN_LIBRARY,
 
153
  ER_CANT_FIND_DL_ENTRY,
 
154
  ER_FUNCTION_NOT_DEFINED,
 
155
  ER_HOST_IS_BLOCKED,
 
156
  ER_HOST_NOT_PRIVILEGED,
 
157
  ER_PASSWORD_ANONYMOUS_USER,
 
158
  ER_PASSWORD_NOT_ALLOWED,
 
159
  ER_PASSWORD_NO_MATCH,
 
160
  ER_UPDATE_INFO,
 
161
  ER_CANT_CREATE_THREAD,
 
162
  ER_WRONG_VALUE_COUNT_ON_ROW,
 
163
  ER_CANT_REOPEN_TABLE,
 
164
  ER_INVALID_USE_OF_NULL,
 
165
  ER_REGEXP_ERROR,
 
166
  ER_MIX_OF_GROUP_FUNC_AND_FIELDS,
 
167
  ER_NONEXISTING_GRANT,
 
168
  ER_TABLEACCESS_DENIED_ERROR,
 
169
  ER_COLUMNACCESS_DENIED_ERROR,
 
170
  ER_ILLEGAL_GRANT_FOR_TABLE,
 
171
  ER_GRANT_WRONG_HOST_OR_USER,
 
172
  ER_NO_SUCH_TABLE,
 
173
  ER_NONEXISTING_TABLE_GRANT,
 
174
  ER_NOT_ALLOWED_COMMAND,
 
175
  ER_SYNTAX_ERROR,
 
176
  ER_DELAYED_CANT_CHANGE_LOCK,
 
177
  ER_TOO_MANY_DELAYED_THREADS,
 
178
  ER_ABORTING_CONNECTION,
 
179
  ER_NET_PACKET_TOO_LARGE,
 
180
  ER_NET_READ_ERROR_FROM_PIPE,
 
181
  ER_NET_FCNTL_ERROR,
 
182
  ER_NET_PACKETS_OUT_OF_ORDER,
 
183
  ER_NET_UNCOMPRESS_ERROR,
 
184
  ER_NET_READ_ERROR,
 
185
  ER_NET_READ_INTERRUPTED,
 
186
  ER_NET_ERROR_ON_WRITE,
 
187
  ER_NET_WRITE_INTERRUPTED,
 
188
  ER_TOO_LONG_STRING,
 
189
  ER_TABLE_CANT_HANDLE_BLOB,
 
190
  ER_TABLE_CANT_HANDLE_AUTO_INCREMENT,
 
191
  ER_DELAYED_INSERT_TABLE_LOCKED,
 
192
  ER_WRONG_COLUMN_NAME,
 
193
  ER_WRONG_KEY_COLUMN,
 
194
  ER_WRONG_MRG_TABLE,
 
195
  ER_DUP_UNIQUE,
 
196
  ER_BLOB_KEY_WITHOUT_LENGTH,
 
197
  ER_PRIMARY_CANT_HAVE_NULL,
 
198
  ER_TOO_MANY_ROWS,
 
199
  ER_REQUIRES_PRIMARY_KEY,
 
200
  ER_NO_RAID_COMPILED,
 
201
  ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE,
 
202
  ER_KEY_DOES_NOT_EXITS,
 
203
  ER_CHECK_NO_SUCH_TABLE,
 
204
  ER_CHECK_NOT_IMPLEMENTED,
 
205
  ER_CANT_DO_THIS_DURING_AN_TRANSACTION,
 
206
  ER_ERROR_DURING_COMMIT,
 
207
  ER_ERROR_DURING_ROLLBACK,
 
208
  ER_ERROR_DURING_FLUSH_LOGS,
 
209
  ER_ERROR_DURING_CHECKPOINT,
 
210
  ER_NEW_ABORTING_CONNECTION,
 
211
  ER_DUMP_NOT_IMPLEMENTED,
 
212
  ER_FLUSH_MASTER_BINLOG_CLOSED,
 
213
  ER_INDEX_REBUILD,
 
214
  ER_MASTER,
 
215
  ER_MASTER_NET_READ,
 
216
  ER_MASTER_NET_WRITE,
 
217
  ER_FT_MATCHING_KEY_NOT_FOUND,
 
218
  ER_LOCK_OR_ACTIVE_TRANSACTION,
 
219
  ER_UNKNOWN_SYSTEM_VARIABLE,
 
220
  ER_CRASHED_ON_USAGE,
 
221
  ER_CRASHED_ON_REPAIR,
 
222
  ER_WARNING_NOT_COMPLETE_ROLLBACK,
 
223
  ER_TRANS_CACHE_FULL,
 
224
  ER_SLAVE_MUST_STOP,
 
225
  ER_SLAVE_NOT_RUNNING,
 
226
  ER_BAD_SLAVE,
 
227
  ER_MASTER_INFO,
 
228
  ER_SLAVE_THREAD,
 
229
  ER_TOO_MANY_USER_CONNECTIONS,
 
230
  ER_SET_CONSTANTS_ONLY,
 
231
  ER_LOCK_WAIT_TIMEOUT,
 
232
  ER_LOCK_TABLE_FULL,
 
233
  ER_READ_ONLY_TRANSACTION,
 
234
  ER_DROP_DB_WITH_READ_LOCK,
 
235
  ER_CREATE_DB_WITH_READ_LOCK,
 
236
  ER_WRONG_ARGUMENTS,
 
237
  ER_NO_PERMISSION_TO_CREATE_USER,
 
238
  ER_UNION_TABLES_IN_DIFFERENT_DIR,
 
239
  ER_LOCK_DEADLOCK,
 
240
  ER_TABLE_CANT_HANDLE_FT,
 
241
  ER_CANNOT_ADD_FOREIGN,
 
242
  ER_NO_REFERENCED_ROW,
 
243
  ER_ROW_IS_REFERENCED,
 
244
  ER_CONNECT_TO_MASTER,
 
245
  ER_QUERY_ON_MASTER,
 
246
  ER_ERROR_WHEN_EXECUTING_COMMAND,
 
247
  ER_WRONG_USAGE,
 
248
  ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT,
 
249
  ER_CANT_UPDATE_WITH_READLOCK,
 
250
  ER_MIXING_NOT_ALLOWED,
 
251
  ER_DUP_ARGUMENT,
 
252
  ER_USER_LIMIT_REACHED,
 
253
  ER_SPECIFIC_ACCESS_DENIED_ERROR,
 
254
  ER_LOCAL_VARIABLE,
 
255
  ER_GLOBAL_VARIABLE,
 
256
  ER_NO_DEFAULT,
 
257
  ER_WRONG_VALUE_FOR_VAR,
 
258
  ER_WRONG_TYPE_FOR_VAR,
 
259
  ER_VAR_CANT_BE_READ,
 
260
  ER_CANT_USE_OPTION_HERE,
 
261
  ER_NOT_SUPPORTED_YET,
 
262
  ER_MASTER_FATAL_ERROR_READING_BINLOG,
 
263
  ER_SLAVE_IGNORED_TABLE,
 
264
  ER_INCORRECT_GLOBAL_LOCAL_VAR,
 
265
  ER_WRONG_FK_DEF,
 
266
  ER_KEY_REF_DO_NOT_MATCH_TABLE_REF,
 
267
  ER_OPERAND_COLUMNS,
 
268
  ER_SUBQUERY_NO_1_ROW,
 
269
  ER_UNKNOWN_STMT_HANDLER,
 
270
  ER_CORRUPT_HELP_DB,
 
271
  ER_CYCLIC_REFERENCE,
 
272
  ER_AUTO_CONVERT,
 
273
  ER_ILLEGAL_REFERENCE,
 
274
  ER_DERIVED_MUST_HAVE_ALIAS,
 
275
  ER_SELECT_REDUCED,
 
276
  ER_TABLENAME_NOT_ALLOWED_HERE,
 
277
  ER_NOT_SUPPORTED_AUTH_MODE,
 
278
  ER_SPATIAL_CANT_HAVE_NULL,
 
279
  ER_COLLATION_CHARSET_MISMATCH,
 
280
  ER_SLAVE_WAS_RUNNING,
 
281
  ER_SLAVE_WAS_NOT_RUNNING,
 
282
  ER_TOO_BIG_FOR_UNCOMPRESS,
 
283
  ER_ZLIB_Z_MEM_ERROR,
 
284
  ER_ZLIB_Z_BUF_ERROR,
 
285
  ER_ZLIB_Z_DATA_ERROR,
 
286
  ER_CUT_VALUE_GROUP_CONCAT,
 
287
  ER_WARN_TOO_FEW_RECORDS,
 
288
  ER_WARN_TOO_MANY_RECORDS,
 
289
  ER_WARN_NULL_TO_NOTNULL,
 
290
  ER_WARN_DATA_OUT_OF_RANGE,
 
291
  ER_WARN_DATA_TRUNCATED,
 
292
  ER_WARN_USING_OTHER_HANDLER,
 
293
  ER_CANT_AGGREGATE_2COLLATIONS,
 
294
  ER_DROP_USER,
 
295
  ER_REVOKE_GRANTS,
 
296
  ER_CANT_AGGREGATE_3COLLATIONS,
 
297
  ER_CANT_AGGREGATE_NCOLLATIONS,
 
298
  ER_VARIABLE_IS_NOT_STRUCT,
 
299
  ER_UNKNOWN_COLLATION,
 
300
  ER_SLAVE_IGNORED_SSL_PARAMS,
 
301
  ER_SERVER_IS_IN_SECURE_AUTH_MODE,
 
302
  ER_WARN_FIELD_RESOLVED,
 
303
  ER_BAD_SLAVE_UNTIL_COND,
 
304
  ER_MISSING_SKIP_SLAVE,
 
305
  ER_UNTIL_COND_IGNORED,
 
306
  ER_WRONG_NAME_FOR_INDEX,
 
307
  ER_WRONG_NAME_FOR_CATALOG,
 
308
  ER_WARN_QC_RESIZE,
 
309
  ER_BAD_FT_COLUMN,
 
310
  ER_UNKNOWN_KEY_CACHE,
 
311
  ER_WARN_HOSTNAME_WONT_WORK,
 
312
  ER_UNKNOWN_STORAGE_ENGINE,
 
313
  ER_WARN_DEPRECATED_SYNTAX,
 
314
  ER_NON_UPDATABLE_TABLE,
 
315
  ER_FEATURE_DISABLED,
 
316
  ER_OPTION_PREVENTS_STATEMENT,
 
317
  ER_DUPLICATED_VALUE_IN_TYPE,
 
318
  ER_TRUNCATED_WRONG_VALUE,
 
319
  ER_TOO_MUCH_AUTO_TIMESTAMP_COLS,
 
320
  ER_INVALID_ON_UPDATE,
 
321
  ER_UNSUPPORTED_PS,
 
322
  ER_GET_ERRMSG,
 
323
  ER_GET_TEMPORARY_ERRMSG,
 
324
  ER_UNKNOWN_TIME_ZONE,
 
325
  ER_WARN_INVALID_TIMESTAMP,
 
326
  ER_INVALID_CHARACTER_STRING,
 
327
  ER_WARN_ALLOWED_PACKET_OVERFLOWED,
 
328
  ER_CONFLICTING_DECLARATIONS,
 
329
  ER_SP_NO_RECURSIVE_CREATE,
 
330
  ER_SP_ALREADY_EXISTS,
 
331
  ER_SP_DOES_NOT_EXIST,
 
332
  ER_SP_DROP_FAILED,
 
333
  ER_SP_STORE_FAILED,
 
334
  ER_SP_LILABEL_MISMATCH,
 
335
  ER_SP_LABEL_REDEFINE,
 
336
  ER_SP_LABEL_MISMATCH,
 
337
  ER_SP_UNINIT_VAR,
 
338
  ER_SP_BADSELECT,
 
339
  ER_SP_BADRETURN,
 
340
  ER_SP_BADSTATEMENT,
 
341
  ER_UPDATE_LOG_DEPRECATED_IGNORED,
 
342
  ER_UPDATE_LOG_DEPRECATED_TRANSLATED,
 
343
  ER_QUERY_INTERRUPTED,
 
344
  ER_SP_WRONG_NO_OF_ARGS,
 
345
  ER_SP_COND_MISMATCH,
 
346
  ER_SP_NORETURN,
 
347
  ER_SP_NORETURNEND,
 
348
  ER_SP_BAD_CURSOR_QUERY,
 
349
  ER_SP_BAD_CURSOR_SELECT,
 
350
  ER_SP_CURSOR_MISMATCH,
 
351
  ER_SP_CURSOR_ALREADY_OPEN,
 
352
  ER_SP_CURSOR_NOT_OPEN,
 
353
  ER_SP_UNDECLARED_VAR,
 
354
  ER_SP_WRONG_NO_OF_FETCH_ARGS,
 
355
  ER_SP_FETCH_NO_DATA,
 
356
  ER_SP_DUP_PARAM,
 
357
  ER_SP_DUP_VAR,
 
358
  ER_SP_DUP_COND,
 
359
  ER_SP_DUP_CURS,
 
360
  ER_SP_CANT_ALTER,
 
361
  ER_SP_SUBSELECT_NYI,
 
362
  ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG,
 
363
  ER_SP_VARCOND_AFTER_CURSHNDLR,
 
364
  ER_SP_CURSOR_AFTER_HANDLER,
 
365
  ER_SP_CASE_NOT_FOUND,
 
366
  ER_FPARSER_TOO_BIG_FILE,
 
367
  ER_FPARSER_BAD_HEADER,
 
368
  ER_FPARSER_EOF_IN_COMMENT,
 
369
  ER_FPARSER_ERROR_IN_PARAMETER,
 
370
  ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER,
 
371
  ER_VIEW_NO_EXPLAIN,
 
372
  ER_FRM_UNKNOWN_TYPE,
 
373
  ER_WRONG_OBJECT,
 
374
  ER_NONUPDATEABLE_COLUMN,
 
375
  ER_VIEW_SELECT_DERIVED,
 
376
  ER_VIEW_SELECT_CLAUSE,
 
377
  ER_VIEW_SELECT_VARIABLE,
 
378
  ER_VIEW_SELECT_TMPTABLE,
 
379
  ER_VIEW_WRONG_LIST,
 
380
  ER_WARN_VIEW_MERGE,
 
381
  ER_WARN_VIEW_WITHOUT_KEY,
 
382
  ER_VIEW_INVALID,
 
383
  ER_SP_NO_DROP_SP,
 
384
  ER_SP_GOTO_IN_HNDLR,
 
385
  ER_TRG_ALREADY_EXISTS,
 
386
  ER_TRG_DOES_NOT_EXIST,
 
387
  ER_TRG_ON_VIEW_OR_TEMP_TABLE,
 
388
  ER_TRG_CANT_CHANGE_ROW,
 
389
  ER_TRG_NO_SUCH_ROW_IN_TRG,
 
390
  ER_NO_DEFAULT_FOR_FIELD,
 
391
  ER_DIVISION_BY_ZERO,
 
392
  ER_TRUNCATED_WRONG_VALUE_FOR_FIELD,
 
393
  ER_ILLEGAL_VALUE_FOR_TYPE,
 
394
  ER_VIEW_NONUPD_CHECK,
 
395
  ER_VIEW_CHECK_FAILED,
 
396
  ER_PROCACCESS_DENIED_ERROR,
 
397
  ER_RELAY_LOG_FAIL,
 
398
  ER_PASSWD_LENGTH,
 
399
  ER_UNKNOWN_TARGET_BINLOG,
 
400
  ER_IO_ERR_LOG_INDEX_READ,
 
401
  ER_BINLOG_PURGE_PROHIBITED,
 
402
  ER_FSEEK_FAIL,
 
403
  ER_BINLOG_PURGE_FATAL_ERR,
 
404
  ER_LOG_IN_USE,
 
405
  ER_LOG_PURGE_UNKNOWN_ERR,
 
406
  ER_RELAY_LOG_INIT,
 
407
  ER_NO_BINARY_LOGGING,
 
408
  ER_RESERVED_SYNTAX,
 
409
  ER_WSAS_FAILED,
 
410
  ER_DIFF_GROUPS_PROC,
 
411
  ER_NO_GROUP_FOR_PROC,
 
412
  ER_ORDER_WITH_PROC,
 
413
  ER_LOGGING_PROHIBIT_CHANGING_OF,
 
414
  ER_NO_FILE_MAPPING,
 
415
  ER_WRONG_MAGIC,
 
416
  ER_PS_MANY_PARAM,
 
417
  ER_KEY_PART_0,
 
418
  ER_VIEW_CHECKSUM,
 
419
  ER_VIEW_MULTIUPDATE,
 
420
  ER_VIEW_NO_INSERT_FIELD_LIST,
 
421
  ER_VIEW_DELETE_MERGE_VIEW,
 
422
  ER_CANNOT_USER,
 
423
  ER_XAER_NOTA,
 
424
  ER_XAER_INVAL,
 
425
  ER_XAER_RMFAIL,
 
426
  ER_XAER_OUTSIDE,
 
427
  ER_XAER_RMERR,
 
428
  ER_XA_RBROLLBACK,
 
429
  ER_NONEXISTING_PROC_GRANT,
 
430
  ER_PROC_AUTO_GRANT_FAIL,
 
431
  ER_PROC_AUTO_REVOKE_FAIL,
 
432
  ER_DATA_TOO_LONG,
 
433
  ER_SP_BAD_SQLSTATE,
 
434
  ER_STARTUP,
 
435
  ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR,
 
436
  ER_CANT_CREATE_USER_WITH_GRANT,
 
437
  ER_WRONG_VALUE_FOR_TYPE,
 
438
  ER_TABLE_DEF_CHANGED,
 
439
  ER_SP_DUP_HANDLER,
 
440
  ER_SP_NOT_VAR_ARG,
 
441
  ER_SP_NO_RETSET,
 
442
  ER_CANT_CREATE_GEOMETRY_OBJECT,
 
443
  ER_FAILED_ROUTINE_BREAK_BINLOG,
 
444
  ER_BINLOG_UNSAFE_ROUTINE,
 
445
  ER_BINLOG_CREATE_ROUTINE_NEED_SUPER,
 
446
  ER_EXEC_STMT_WITH_OPEN_CURSOR,
 
447
  ER_STMT_HAS_NO_OPEN_CURSOR,
 
448
  ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG,
 
449
  ER_NO_DEFAULT_FOR_VIEW_FIELD,
 
450
  ER_SP_NO_RECURSION,
 
451
  ER_TOO_BIG_SCALE,
 
452
  ER_TOO_BIG_PRECISION,
 
453
  ER_M_BIGGER_THAN_D,
 
454
  ER_WRONG_LOCK_OF_SYSTEM_TABLE,
 
455
  ER_CONNECT_TO_FOREIGN_DATA_SOURCE,
 
456
  ER_QUERY_ON_FOREIGN_DATA_SOURCE,
 
457
  ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST,
 
458
  ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE,
 
459
  ER_FOREIGN_DATA_STRING_INVALID,
 
460
  ER_CANT_CREATE_FEDERATED_TABLE,
 
461
  ER_TRG_IN_WRONG_SCHEMA,
 
462
  ER_STACK_OVERRUN_NEED_MORE,
 
463
  ER_TOO_LONG_BODY,
 
464
  ER_WARN_CANT_DROP_DEFAULT_KEYCACHE,
 
465
  ER_TOO_BIG_DISPLAYWIDTH,
 
466
  ER_XAER_DUPID,
 
467
  ER_DATETIME_FUNCTION_OVERFLOW,
 
468
  ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG,
 
469
  ER_VIEW_PREVENT_UPDATE,
 
470
  ER_PS_NO_RECURSION,
 
471
  ER_SP_CANT_SET_AUTOCOMMIT,
 
472
  ER_MALFORMED_DEFINER,
 
473
  ER_VIEW_FRM_NO_USER,
 
474
  ER_VIEW_OTHER_USER,
 
475
  ER_NO_SUCH_USER,
 
476
  ER_FORBID_SCHEMA_CHANGE,
 
477
  ER_ROW_IS_REFERENCED_2,
 
478
  ER_NO_REFERENCED_ROW_2,
 
479
  ER_SP_BAD_VAR_SHADOW,
 
480
  ER_TRG_NO_DEFINER,
 
481
  ER_OLD_FILE_FORMAT,
 
482
  ER_SP_RECURSION_LIMIT,
 
483
  ER_SP_PROC_TABLE_CORRUPT,
 
484
  ER_SP_WRONG_NAME,
 
485
  ER_TABLE_NEEDS_UPGRADE,
 
486
  ER_SP_NO_AGGREGATE,
 
487
  ER_MAX_PREPARED_STMT_COUNT_REACHED,
 
488
  ER_VIEW_RECURSIVE,
 
489
  ER_NON_GROUPING_FIELD_USED,
 
490
  ER_TABLE_CANT_HANDLE_SPKEYS,
 
491
  ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA,
 
492
  ER_REMOVED_SPACES,
 
493
  ER_AUTOINC_READ_FAILED,
 
494
  ER_USERNAME,
 
495
  ER_HOSTNAME,
 
496
  ER_WRONG_STRING_LENGTH,
 
497
  ER_NON_INSERTABLE_TABLE,
 
498
  ER_ADMIN_WRONG_MRG_TABLE,
 
499
  ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT,
 
500
  ER_NAME_BECOMES_EMPTY,
 
501
  ER_AMBIGUOUS_FIELD_TERM,
 
502
  ER_FOREIGN_SERVER_EXISTS,
 
503
  ER_FOREIGN_SERVER_DOESNT_EXIST,
 
504
  ER_ILLEGAL_HA_CREATE_OPTION,
 
505
  ER_PARTITION_REQUIRES_VALUES_ERROR,
 
506
  ER_PARTITION_WRONG_VALUES_ERROR,
 
507
  ER_PARTITION_MAXVALUE_ERROR,
 
508
  ER_PARTITION_SUBPARTITION_ERROR,
 
509
  ER_PARTITION_SUBPART_MIX_ERROR,
 
510
  ER_PARTITION_WRONG_NO_PART_ERROR,
 
511
  ER_PARTITION_WRONG_NO_SUBPART_ERROR,
 
512
  ER_CONST_EXPR_IN_PARTITION_FUNC_ERROR,
 
513
  ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR,
 
514
  ER_FIELD_NOT_FOUND_PART_ERROR,
 
515
  ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR,
 
516
  ER_INCONSISTENT_PARTITION_INFO_ERROR,
 
517
  ER_PARTITION_FUNC_NOT_ALLOWED_ERROR,
 
518
  ER_PARTITIONS_MUST_BE_DEFINED_ERROR,
 
519
  ER_RANGE_NOT_INCREASING_ERROR,
 
520
  ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR,
 
521
  ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR,
 
522
  ER_PARTITION_ENTRY_ERROR,
 
523
  ER_MIX_HANDLER_ERROR,
 
524
  ER_PARTITION_NOT_DEFINED_ERROR,
 
525
  ER_TOO_MANY_PARTITIONS_ERROR,
 
526
  ER_SUBPARTITION_ERROR,
 
527
  ER_CANT_CREATE_HANDLER_FILE,
 
528
  ER_BLOB_FIELD_IN_PART_FUNC_ERROR,
 
529
  ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF,
 
530
  ER_NO_PARTS_ERROR,
 
531
  ER_PARTITION_MGMT_ON_NONPARTITIONED,
 
532
  ER_FOREIGN_KEY_ON_PARTITIONED,
 
533
  ER_DROP_PARTITION_NON_EXISTENT,
 
534
  ER_DROP_LAST_PARTITION,
 
535
  ER_COALESCE_ONLY_ON_HASH_PARTITION,
 
536
  ER_REORG_HASH_ONLY_ON_SAME_NO,
 
537
  ER_REORG_NO_PARAM_ERROR,
 
538
  ER_ONLY_ON_RANGE_LIST_PARTITION,
 
539
  ER_ADD_PARTITION_SUBPART_ERROR,
 
540
  ER_ADD_PARTITION_NO_NEW_PARTITION,
 
541
  ER_COALESCE_PARTITION_NO_PARTITION,
 
542
  ER_REORG_PARTITION_NOT_EXIST,
 
543
  ER_SAME_NAME_PARTITION,
 
544
  ER_NO_BINLOG_ERROR,
 
545
  ER_CONSECUTIVE_REORG_PARTITIONS,
 
546
  ER_REORG_OUTSIDE_RANGE,
 
547
  ER_PARTITION_FUNCTION_FAILURE,
 
548
  ER_PART_STATE_ERROR,
 
549
  ER_LIMITED_PART_RANGE,
 
550
  ER_PLUGIN_IS_NOT_LOADED,
 
551
  ER_WRONG_VALUE,
 
552
  ER_NO_PARTITION_FOR_GIVEN_VALUE,
 
553
  ER_FILEGROUP_OPTION_ONLY_ONCE,
 
554
  ER_CREATE_FILEGROUP_FAILED,
 
555
  ER_DROP_FILEGROUP_FAILED,
 
556
  ER_TABLESPACE_AUTO_EXTEND_ERROR,
 
557
  ER_WRONG_SIZE_NUMBER,
 
558
  ER_SIZE_OVERFLOW_ERROR,
 
559
  ER_ALTER_FILEGROUP_FAILED,
 
560
  ER_BINLOG_ROW_LOGGING_FAILED,
 
561
  ER_BINLOG_ROW_WRONG_TABLE_DEF,
 
562
  ER_BINLOG_ROW_RBR_TO_SBR,
 
563
  ER_EVENT_ALREADY_EXISTS,
 
564
  ER_EVENT_STORE_FAILED,
 
565
  ER_EVENT_DOES_NOT_EXIST,
 
566
  ER_EVENT_CANT_ALTER,
 
567
  ER_EVENT_DROP_FAILED,
 
568
  ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG,
 
569
  ER_EVENT_ENDS_BEFORE_STARTS,
 
570
  ER_EVENT_EXEC_TIME_IN_THE_PAST,
 
571
  ER_EVENT_OPEN_TABLE_FAILED,
 
572
  ER_EVENT_NEITHER_M_EXPR_NOR_M_AT,
 
573
  ER_COL_COUNT_DOESNT_MATCH_CORRUPTED,
 
574
  ER_CANNOT_LOAD_FROM_TABLE,
 
575
  ER_EVENT_CANNOT_DELETE,
 
576
  ER_EVENT_COMPILE_ERROR,
 
577
  ER_EVENT_SAME_NAME,
 
578
  ER_EVENT_DATA_TOO_LONG,
 
579
  ER_DROP_INDEX_FK,
 
580
  ER_WARN_DEPRECATED_SYNTAX_WITH_VER,
 
581
  ER_CANT_WRITE_LOCK_LOG_TABLE,
 
582
  ER_CANT_LOCK_LOG_TABLE,
 
583
  ER_FOREIGN_DUPLICATE_KEY,
 
584
  ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE,
 
585
  ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR,
 
586
  ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT,
 
587
  ER_NDB_CANT_SWITCH_BINLOG_FORMAT,
 
588
  ER_PARTITION_NO_TEMPORARY,
 
589
  ER_PARTITION_CONST_DOMAIN_ERROR,
 
590
  ER_PARTITION_FUNCTION_IS_NOT_ALLOWED,
 
591
  ER_DDL_LOG_ERROR,
 
592
  ER_NULL_IN_VALUES_LESS_THAN,
 
593
  ER_WRONG_PARTITION_NAME,
 
594
  ER_CANT_CHANGE_TX_ISOLATION,
 
595
  ER_DUP_ENTRY_AUTOINCREMENT_CASE,
 
596
  ER_EVENT_MODIFY_QUEUE_ERROR,
 
597
  ER_EVENT_SET_VAR_ERROR,
 
598
  ER_PARTITION_MERGE_ERROR,
 
599
  ER_CANT_ACTIVATE_LOG,
 
600
  ER_RBR_NOT_AVAILABLE,
 
601
  ER_BASE64_DECODE_ERROR,
 
602
  ER_EVENT_RECURSION_FORBIDDEN,
 
603
  ER_EVENTS_DB_ERROR,
 
604
  ER_ONLY_INTEGERS_ALLOWED,
 
605
  ER_UNSUPORTED_LOG_ENGINE,
 
606
  ER_BAD_LOG_STATEMENT,
 
607
  ER_CANT_RENAME_LOG_TABLE,
 
608
  ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT,
 
609
  ER_WRONG_PARAMETERS_TO_NATIVE_FCT,
 
610
  ER_WRONG_PARAMETERS_TO_STORED_FCT,
 
611
  ER_NATIVE_FCT_NAME_COLLISION,
 
612
  ER_DUP_ENTRY_WITH_KEY_NAME,
 
613
  ER_BINLOG_PURGE_EMFILE,
 
614
  ER_EVENT_CANNOT_CREATE_IN_THE_PAST,
 
615
  ER_EVENT_CANNOT_ALTER_IN_THE_PAST,
 
616
  ER_SLAVE_INCIDENT,
 
617
  ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT,
 
618
  ER_BINLOG_UNSAFE_STATEMENT,
 
619
  ER_SLAVE_FATAL_ERROR,
 
620
  ER_SLAVE_RELAY_LOG_READ_FAILURE,
 
621
  ER_SLAVE_RELAY_LOG_WRITE_FAILURE,
 
622
  ER_SLAVE_CREATE_EVENT_FAILURE,
 
623
  ER_SLAVE_MASTER_COM_FAILURE,
 
624
  ER_BINLOG_LOGGING_IMPOSSIBLE,
 
625
  ER_VIEW_NO_CREATION_CTX,
 
626
  ER_VIEW_INVALID_CREATION_CTX,
 
627
  ER_SR_INVALID_CREATION_CTX,
 
628
  ER_TRG_CORRUPTED_FILE,
 
629
  ER_TRG_NO_CREATION_CTX,
 
630
  ER_TRG_INVALID_CREATION_CTX,
 
631
  ER_EVENT_INVALID_CREATION_CTX,
 
632
  ER_TRG_CANT_OPEN_TABLE,
 
633
  ER_CANT_CREATE_SROUTINE,
 
634
  ER_SLAVE_AMBIGOUS_EXEC_MODE,
 
635
  ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT,
 
636
  ER_SLAVE_CORRUPT_EVENT,
 
637
  ER_LOAD_DATA_INVALID_COLUMN,
 
638
  ER_LOG_PURGE_NO_FILE,
 
639
  ER_WARN_AUTO_CONVERT_LOCK,
 
640
  ER_NO_AUTO_CONVERT_LOCK_STRICT,
 
641
  ER_NO_AUTO_CONVERT_LOCK_TRANSACTION,
 
642
  ER_NO_STORAGE_ENGINE,
 
643
  ER_BACKUP_BACKUP_START,
 
644
  ER_BACKUP_BACKUP_DONE,
 
645
  ER_BACKUP_RESTORE_START,
 
646
  ER_BACKUP_RESTORE_DONE,
 
647
  ER_BACKUP_NOTHING_TO_BACKUP,
 
648
  ER_BACKUP_CANNOT_INCLUDE_DB,
 
649
  ER_BACKUP_BACKUP,
 
650
  ER_BACKUP_RESTORE,
 
651
  ER_BACKUP_RUNNING,
 
652
  ER_BACKUP_BACKUP_PREPARE,
 
653
  ER_BACKUP_RESTORE_PREPARE,
 
654
  ER_BACKUP_INVALID_LOC,
 
655
  ER_BACKUP_READ_LOC,
 
656
  ER_BACKUP_WRITE_LOC,
 
657
  ER_BACKUP_LIST_DBS,
 
658
  ER_BACKUP_LIST_TABLES,
 
659
  ER_BACKUP_LIST_DB_TABLES,
 
660
  ER_BACKUP_SKIP_VIEW,
 
661
  ER_BACKUP_NO_ENGINE,
 
662
  ER_BACKUP_TABLE_OPEN,
 
663
  ER_BACKUP_READ_HEADER,
 
664
  ER_BACKUP_WRITE_HEADER,
 
665
  ER_BACKUP_NO_BACKUP_DRIVER,
 
666
  ER_BACKUP_NOT_ACCEPTED,
 
667
  ER_BACKUP_CREATE_BACKUP_DRIVER,
 
668
  ER_BACKUP_CREATE_RESTORE_DRIVER,
 
669
  ER_BACKUP_TOO_MANY_IMAGES,
 
670
  ER_BACKUP_WRITE_META,
 
671
  ER_BACKUP_READ_META,
 
672
  ER_BACKUP_CREATE_META,
 
673
  ER_BACKUP_GET_BUF,
 
674
  ER_BACKUP_WRITE_DATA,
 
675
  ER_BACKUP_READ_DATA,
 
676
  ER_BACKUP_NEXT_CHUNK,
 
677
  ER_BACKUP_INIT_BACKUP_DRIVER,
 
678
  ER_BACKUP_INIT_RESTORE_DRIVER,
 
679
  ER_BACKUP_STOP_BACKUP_DRIVER,
 
680
  ER_BACKUP_STOP_RESTORE_DRIVERS,
 
681
  ER_BACKUP_PREPARE_DRIVER,
 
682
  ER_BACKUP_CREATE_VP,
 
683
  ER_BACKUP_UNLOCK_DRIVER,
 
684
  ER_BACKUP_CANCEL_BACKUP,
 
685
  ER_BACKUP_CANCEL_RESTORE,
 
686
  ER_BACKUP_GET_DATA,
 
687
  ER_BACKUP_SEND_DATA,
 
688
  ER_BACKUP_SEND_DATA_RETRY,
 
689
  ER_BACKUP_OPEN_TABLES,
 
690
  ER_BACKUP_THREAD_INIT,
 
691
  ER_BACKUP_PROGRESS_TABLES,
 
692
  ER_TABLESPACE_EXIST,
 
693
  ER_NO_SUCH_TABLESPACE,
 
694
  ER_SLAVE_HEARTBEAT_FAILURE,
 
695
  ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE,
 
696
  ER_BACKUP_LOG_WRITE_ERROR,
 
697
  ER_TABLESPACE_NOT_EMPTY,
 
698
  ER_BACKUP_TS_CHANGE,
 
699
  ER_ERROR_LAST= ER_BACKUP_TS_CHANGE
 
700
};
 
701
 
 
702
#endif
 
703