~drizzle-trunk/drizzle/development

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