17
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20
#ifndef DRIZZLED_ERROR_H
21
#define DRIZZLED_ERROR_H
24
#include "drizzled/definitions.h"
29
/* Max width of screen (for error messages) */
30
#define SC_MAXWIDTH 256
31
#define ERRMSGSIZE (SC_MAXWIDTH) /* Max length of a error message */
32
#define NRERRBUFFS (2) /* Buffers for parameters */
33
#define MY_FILE_ERROR ((size_t) -1)
34
#define ME_FATALERROR 1024 /* Fatal statement error */
36
typedef void (*error_handler_func)(uint32_t my_err,
39
extern error_handler_func error_handler_hook;
41
// TODO: kill this method. Too much to do with this branch.
42
// This is called through the ER(x) macro.
20
#ifndef _drizzled_error_h
21
#define _drizzled_error_h
43
27
const char * error_message(unsigned int err_index);
45
// Adds the message to the global error dictionary.
46
void add_error_message(uint32_t error_code, std::string const& message);
48
void my_error(int nr, myf MyFlags, ...);
49
void my_message(uint32_t my_err, const char *str, myf MyFlags);
50
void my_printf_error(uint32_t my_err, const char *format,
52
__attribute__((format(printf, 2, 4)));
54
} /* namespace drizzled */
56
#endif /* DRIZZLED_ERROR_H */
29
enum drizzled_error_code {
31
ER_HASHCHK= ER_ERROR_FIRST,
43
ER_CANT_FIND_SYSTEM_REC,
75
ER_DBACCESS_DENIED_ERROR,
76
ER_ACCESS_DENIED_ERROR,
81
ER_TABLE_EXISTS_ERROR,
86
ER_WRONG_FIELD_WITH_GROUP,
101
ER_TOO_MANY_KEY_PARTS,
103
ER_KEY_COLUMN_DOES_NOT_EXITS,
105
ER_TOO_BIG_FIELDLENGTH,
110
ER_SHUTDOWN_COMPLETE,
114
ER_WRONG_FIELD_TERMINATORS,
115
ER_BLOBS_AND_NO_TERMINATED,
116
ER_TEXTFILE_NOT_READABLE,
117
ER_FILE_EXISTS_ERROR,
121
ER_CANT_REMOVE_ALL_FIELDS,
122
ER_CANT_DROP_FIELD_OR_KEY,
124
ER_UPDATE_TABLE_USED,
126
ER_KILL_DENIED_ERROR,
129
ER_NO_UNIQUE_LOGFILE,
130
ER_TABLE_NOT_LOCKED_FOR_WRITE,
132
ER_BLOB_CANT_HAVE_DEFAULT,
137
ER_UNKNOWN_PROCEDURE,
138
ER_WRONG_PARAMCOUNT_TO_PROCEDURE,
139
ER_WRONG_PARAMETERS_TO_PROCEDURE,
141
ER_FIELD_SPECIFIED_TWICE,
142
ER_INVALID_GROUP_FUNC_USE,
143
ER_UNSUPPORTED_EXTENSION,
144
ER_TABLE_MUST_HAVE_COLUMNS,
146
ER_UNKNOWN_CHARACTER_SET,
152
ER_NULL_COLUMN_IN_INDEX,
154
ER_CANT_INITIALIZE_UDF,
157
ER_CANT_OPEN_LIBRARY,
158
ER_CANT_FIND_DL_ENTRY,
159
ER_FUNCTION_NOT_DEFINED,
161
ER_HOST_NOT_PRIVILEGED,
162
ER_PASSWORD_ANONYMOUS_USER,
163
ER_PASSWORD_NOT_ALLOWED,
164
ER_PASSWORD_NO_MATCH,
166
ER_CANT_CREATE_THREAD,
167
ER_WRONG_VALUE_COUNT_ON_ROW,
168
ER_CANT_REOPEN_TABLE,
169
ER_INVALID_USE_OF_NULL,
171
ER_MIX_OF_GROUP_FUNC_AND_FIELDS,
172
ER_NONEXISTING_GRANT,
173
ER_TABLEACCESS_DENIED_ERROR,
174
ER_COLUMNACCESS_DENIED_ERROR,
175
ER_ILLEGAL_GRANT_FOR_TABLE,
176
ER_GRANT_WRONG_HOST_OR_USER,
178
ER_NONEXISTING_TABLE_GRANT,
179
ER_NOT_ALLOWED_COMMAND,
181
ER_DELAYED_CANT_CHANGE_LOCK,
182
ER_TOO_MANY_DELAYED_THREADS,
183
ER_ABORTING_CONNECTION,
184
ER_NET_PACKET_TOO_LARGE,
185
ER_NET_READ_ERROR_FROM_PIPE,
187
ER_NET_PACKETS_OUT_OF_ORDER,
188
ER_NET_UNCOMPRESS_ERROR,
190
ER_NET_READ_INTERRUPTED,
191
ER_NET_ERROR_ON_WRITE,
192
ER_NET_WRITE_INTERRUPTED,
194
ER_TABLE_CANT_HANDLE_BLOB,
195
ER_TABLE_CANT_HANDLE_AUTO_INCREMENT,
196
ER_DELAYED_INSERT_TABLE_LOCKED,
197
ER_WRONG_COLUMN_NAME,
201
ER_BLOB_KEY_WITHOUT_LENGTH,
202
ER_PRIMARY_CANT_HAVE_NULL,
204
ER_REQUIRES_PRIMARY_KEY,
206
ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE,
207
ER_KEY_DOES_NOT_EXITS,
208
ER_CHECK_NO_SUCH_TABLE,
209
ER_CHECK_NOT_IMPLEMENTED,
210
ER_CANT_DO_THIS_DURING_AN_TRANSACTION,
211
ER_ERROR_DURING_COMMIT,
212
ER_ERROR_DURING_ROLLBACK,
213
ER_ERROR_DURING_FLUSH_LOGS,
214
ER_ERROR_DURING_CHECKPOINT,
215
ER_NEW_ABORTING_CONNECTION,
216
ER_DUMP_NOT_IMPLEMENTED,
217
ER_FLUSH_MASTER_BINLOG_CLOSED,
222
ER_FT_MATCHING_KEY_NOT_FOUND,
223
ER_LOCK_OR_ACTIVE_TRANSACTION,
224
ER_UNKNOWN_SYSTEM_VARIABLE,
226
ER_CRASHED_ON_REPAIR,
227
ER_WARNING_NOT_COMPLETE_ROLLBACK,
230
ER_SLAVE_NOT_RUNNING,
234
ER_TOO_MANY_USER_CONNECTIONS,
235
ER_SET_CONSTANTS_ONLY,
236
ER_LOCK_WAIT_TIMEOUT,
238
ER_READ_ONLY_TRANSACTION,
239
ER_DROP_DB_WITH_READ_LOCK,
240
ER_CREATE_DB_WITH_READ_LOCK,
242
ER_NO_PERMISSION_TO_CREATE_USER,
243
ER_UNION_TABLES_IN_DIFFERENT_DIR,
245
ER_TABLE_CANT_HANDLE_FT,
246
ER_CANNOT_ADD_FOREIGN,
247
ER_NO_REFERENCED_ROW,
248
ER_ROW_IS_REFERENCED,
249
ER_CONNECT_TO_MASTER,
251
ER_ERROR_WHEN_EXECUTING_COMMAND,
253
ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT,
254
ER_CANT_UPDATE_WITH_READLOCK,
255
ER_MIXING_NOT_ALLOWED,
257
ER_USER_LIMIT_REACHED,
258
ER_SPECIFIC_ACCESS_DENIED_ERROR,
262
ER_WRONG_VALUE_FOR_VAR,
263
ER_WRONG_TYPE_FOR_VAR,
265
ER_CANT_USE_OPTION_HERE,
266
ER_NOT_SUPPORTED_YET,
267
ER_MASTER_FATAL_ERROR_READING_BINLOG,
268
ER_SLAVE_IGNORED_TABLE,
269
ER_INCORRECT_GLOBAL_LOCAL_VAR,
271
ER_KEY_REF_DO_NOT_MATCH_TABLE_REF,
273
ER_SUBQUERY_NO_1_ROW,
274
ER_UNKNOWN_STMT_HANDLER,
278
ER_ILLEGAL_REFERENCE,
279
ER_DERIVED_MUST_HAVE_ALIAS,
281
ER_TABLENAME_NOT_ALLOWED_HERE,
282
ER_NOT_SUPPORTED_AUTH_MODE,
283
ER_SPATIAL_CANT_HAVE_NULL,
284
ER_COLLATION_CHARSET_MISMATCH,
285
ER_SLAVE_WAS_RUNNING,
286
ER_SLAVE_WAS_NOT_RUNNING,
287
ER_TOO_BIG_FOR_UNCOMPRESS,
290
ER_ZLIB_Z_DATA_ERROR,
291
ER_CUT_VALUE_GROUP_CONCAT,
292
ER_WARN_TOO_FEW_RECORDS,
293
ER_WARN_TOO_MANY_RECORDS,
294
ER_WARN_NULL_TO_NOTNULL,
295
ER_WARN_DATA_OUT_OF_RANGE,
296
ER_WARN_DATA_TRUNCATED,
297
ER_WARN_USING_OTHER_HANDLER,
298
ER_CANT_AGGREGATE_2COLLATIONS,
301
ER_CANT_AGGREGATE_3COLLATIONS,
302
ER_CANT_AGGREGATE_NCOLLATIONS,
303
ER_VARIABLE_IS_NOT_STRUCT,
304
ER_UNKNOWN_COLLATION,
305
ER_SLAVE_IGNORED_SSL_PARAMS,
306
ER_SERVER_IS_IN_SECURE_AUTH_MODE,
307
ER_WARN_FIELD_RESOLVED,
308
ER_BAD_SLAVE_UNTIL_COND,
309
ER_MISSING_SKIP_SLAVE,
310
ER_UNTIL_COND_IGNORED,
311
ER_WRONG_NAME_FOR_INDEX,
312
ER_WRONG_NAME_FOR_CATALOG,
315
ER_UNKNOWN_KEY_CACHE,
316
ER_WARN_HOSTNAME_WONT_WORK,
317
ER_UNKNOWN_STORAGE_ENGINE,
318
ER_WARN_DEPRECATED_SYNTAX,
319
ER_NON_UPDATABLE_TABLE,
321
ER_OPTION_PREVENTS_STATEMENT,
322
ER_DUPLICATED_VALUE_IN_TYPE,
323
ER_TRUNCATED_WRONG_VALUE,
324
ER_TOO_MUCH_AUTO_TIMESTAMP_COLS,
325
ER_INVALID_ON_UPDATE,
328
ER_GET_TEMPORARY_ERRMSG,
329
ER_UNKNOWN_TIME_ZONE,
330
ER_WARN_INVALID_TIMESTAMP,
331
ER_INVALID_CHARACTER_STRING,
332
ER_WARN_ALLOWED_PACKET_OVERFLOWED,
333
ER_CONFLICTING_DECLARATIONS,
334
ER_SP_NO_RECURSIVE_CREATE,
335
ER_SP_ALREADY_EXISTS,
336
ER_SP_DOES_NOT_EXIST,
339
ER_SP_LILABEL_MISMATCH,
340
ER_SP_LABEL_REDEFINE,
341
ER_SP_LABEL_MISMATCH,
346
ER_UPDATE_LOG_DEPRECATED_IGNORED,
347
ER_UPDATE_LOG_DEPRECATED_TRANSLATED,
348
ER_QUERY_INTERRUPTED,
349
ER_SP_WRONG_NO_OF_ARGS,
353
ER_SP_BAD_CURSOR_QUERY,
354
ER_SP_BAD_CURSOR_SELECT,
355
ER_SP_CURSOR_MISMATCH,
356
ER_SP_CURSOR_ALREADY_OPEN,
357
ER_SP_CURSOR_NOT_OPEN,
358
ER_SP_UNDECLARED_VAR,
359
ER_SP_WRONG_NO_OF_FETCH_ARGS,
367
ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG,
368
ER_SP_VARCOND_AFTER_CURSHNDLR,
369
ER_SP_CURSOR_AFTER_HANDLER,
370
ER_SP_CASE_NOT_FOUND,
371
ER_FPARSER_TOO_BIG_FILE,
372
ER_FPARSER_BAD_HEADER,
373
ER_FPARSER_EOF_IN_COMMENT,
374
ER_FPARSER_ERROR_IN_PARAMETER,
375
ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER,
379
ER_NONUPDATEABLE_COLUMN,
380
ER_VIEW_SELECT_DERIVED,
381
ER_VIEW_SELECT_CLAUSE,
382
ER_VIEW_SELECT_VARIABLE,
383
ER_VIEW_SELECT_TMPTABLE,
386
ER_WARN_VIEW_WITHOUT_KEY,
390
ER_TRG_ALREADY_EXISTS,
391
ER_TRG_DOES_NOT_EXIST,
392
ER_TRG_ON_VIEW_OR_TEMP_TABLE,
393
ER_TRG_CANT_CHANGE_ROW,
394
ER_TRG_NO_SUCH_ROW_IN_TRG,
395
ER_NO_DEFAULT_FOR_FIELD,
397
ER_TRUNCATED_WRONG_VALUE_FOR_FIELD,
398
ER_ILLEGAL_VALUE_FOR_TYPE,
399
ER_VIEW_NONUPD_CHECK,
400
ER_VIEW_CHECK_FAILED,
401
ER_PROCACCESS_DENIED_ERROR,
404
ER_UNKNOWN_TARGET_BINLOG,
405
ER_IO_ERR_LOG_INDEX_READ,
406
ER_BINLOG_PURGE_PROHIBITED,
408
ER_BINLOG_PURGE_FATAL_ERR,
410
ER_LOG_PURGE_UNKNOWN_ERR,
412
ER_NO_BINARY_LOGGING,
416
ER_NO_GROUP_FOR_PROC,
418
ER_LOGGING_PROHIBIT_CHANGING_OF,
425
ER_VIEW_NO_INSERT_FIELD_LIST,
426
ER_VIEW_DELETE_MERGE_VIEW,
434
ER_NONEXISTING_PROC_GRANT,
435
ER_PROC_AUTO_GRANT_FAIL,
436
ER_PROC_AUTO_REVOKE_FAIL,
440
ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR,
441
ER_CANT_CREATE_USER_WITH_GRANT,
442
ER_WRONG_VALUE_FOR_TYPE,
443
ER_TABLE_DEF_CHANGED,
447
ER_CANT_CREATE_GEOMETRY_OBJECT,
448
ER_FAILED_ROUTINE_BREAK_BINLOG,
449
ER_BINLOG_UNSAFE_ROUTINE,
450
ER_BINLOG_CREATE_ROUTINE_NEED_SUPER,
451
ER_EXEC_STMT_WITH_OPEN_CURSOR,
452
ER_STMT_HAS_NO_OPEN_CURSOR,
453
ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG,
454
ER_NO_DEFAULT_FOR_VIEW_FIELD,
457
ER_TOO_BIG_PRECISION,
459
ER_WRONG_LOCK_OF_SYSTEM_TABLE,
460
ER_CONNECT_TO_FOREIGN_DATA_SOURCE,
461
ER_QUERY_ON_FOREIGN_DATA_SOURCE,
462
ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST,
463
ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE,
464
ER_FOREIGN_DATA_STRING_INVALID,
465
ER_CANT_CREATE_FEDERATED_TABLE,
466
ER_TRG_IN_WRONG_SCHEMA,
467
ER_STACK_OVERRUN_NEED_MORE=1436, // TODO: Test case looks for this int
469
ER_WARN_CANT_DROP_DEFAULT_KEYCACHE,
470
ER_TOO_BIG_DISPLAYWIDTH,
472
ER_DATETIME_FUNCTION_OVERFLOW,
473
ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG,
474
ER_VIEW_PREVENT_UPDATE,
476
ER_SP_CANT_SET_AUTOCOMMIT,
477
ER_MALFORMED_DEFINER,
481
ER_FORBID_SCHEMA_CHANGE,
482
ER_ROW_IS_REFERENCED_2,
483
ER_NO_REFERENCED_ROW_2,
484
ER_SP_BAD_VAR_SHADOW,
487
ER_SP_RECURSION_LIMIT,
488
ER_SP_PROC_TABLE_CORRUPT,
490
ER_TABLE_NEEDS_UPGRADE,
492
ER_MAX_PREPARED_STMT_COUNT_REACHED,
494
ER_NON_GROUPING_FIELD_USED,
495
ER_TABLE_CANT_HANDLE_SPKEYS,
496
ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA,
498
ER_AUTOINC_READ_FAILED,
501
ER_WRONG_STRING_LENGTH,
502
ER_NON_INSERTABLE_TABLE,
503
ER_ADMIN_WRONG_MRG_TABLE,
504
ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT,
505
ER_NAME_BECOMES_EMPTY,
506
ER_AMBIGUOUS_FIELD_TERM,
507
ER_FOREIGN_SERVER_EXISTS,
508
ER_FOREIGN_SERVER_DOESNT_EXIST,
509
ER_ILLEGAL_HA_CREATE_OPTION,
510
ER_PARTITION_REQUIRES_VALUES_ERROR,
511
ER_PARTITION_WRONG_VALUES_ERROR,
512
ER_PARTITION_MAXVALUE_ERROR,
513
ER_PARTITION_SUBPARTITION_ERROR,
514
ER_PARTITION_SUBPART_MIX_ERROR,
515
ER_PARTITION_WRONG_NO_PART_ERROR,
516
ER_PARTITION_WRONG_NO_SUBPART_ERROR,
517
ER_CONST_EXPR_IN_PARTITION_FUNC_ERROR,
518
ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR,
519
ER_FIELD_NOT_FOUND_PART_ERROR,
520
ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR,
521
ER_INCONSISTENT_PARTITION_INFO_ERROR,
522
ER_PARTITION_FUNC_NOT_ALLOWED_ERROR,
523
ER_PARTITIONS_MUST_BE_DEFINED_ERROR,
524
ER_RANGE_NOT_INCREASING_ERROR,
525
ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR,
526
ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR,
527
ER_PARTITION_ENTRY_ERROR,
528
ER_MIX_HANDLER_ERROR,
529
ER_PARTITION_NOT_DEFINED_ERROR,
530
ER_TOO_MANY_PARTITIONS_ERROR,
531
ER_SUBPARTITION_ERROR,
532
ER_CANT_CREATE_HANDLER_FILE,
533
ER_BLOB_FIELD_IN_PART_FUNC_ERROR,
534
ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF,
536
ER_PARTITION_MGMT_ON_NONPARTITIONED,
537
ER_FOREIGN_KEY_ON_PARTITIONED,
538
ER_DROP_PARTITION_NON_EXISTENT,
539
ER_DROP_LAST_PARTITION,
540
ER_COALESCE_ONLY_ON_HASH_PARTITION,
541
ER_REORG_HASH_ONLY_ON_SAME_NO,
542
ER_REORG_NO_PARAM_ERROR,
543
ER_ONLY_ON_RANGE_LIST_PARTITION,
544
ER_ADD_PARTITION_SUBPART_ERROR,
545
ER_ADD_PARTITION_NO_NEW_PARTITION,
546
ER_COALESCE_PARTITION_NO_PARTITION,
547
ER_REORG_PARTITION_NOT_EXIST,
548
ER_SAME_NAME_PARTITION,
550
ER_CONSECUTIVE_REORG_PARTITIONS,
551
ER_REORG_OUTSIDE_RANGE,
552
ER_PARTITION_FUNCTION_FAILURE,
554
ER_LIMITED_PART_RANGE,
555
ER_PLUGIN_IS_NOT_LOADED,
557
ER_NO_PARTITION_FOR_GIVEN_VALUE,
558
ER_FILEGROUP_OPTION_ONLY_ONCE,
559
ER_CREATE_FILEGROUP_FAILED,
560
ER_DROP_FILEGROUP_FAILED,
561
ER_TABLESPACE_AUTO_EXTEND_ERROR,
562
ER_WRONG_SIZE_NUMBER,
563
ER_SIZE_OVERFLOW_ERROR,
564
ER_ALTER_FILEGROUP_FAILED,
565
ER_BINLOG_ROW_LOGGING_FAILED,
566
ER_BINLOG_ROW_WRONG_TABLE_DEF,
567
ER_BINLOG_ROW_RBR_TO_SBR,
568
ER_EVENT_ALREADY_EXISTS,
569
ER_EVENT_STORE_FAILED,
570
ER_EVENT_DOES_NOT_EXIST,
572
ER_EVENT_DROP_FAILED,
573
ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG,
574
ER_EVENT_ENDS_BEFORE_STARTS,
575
ER_EVENT_EXEC_TIME_IN_THE_PAST,
576
ER_EVENT_OPEN_TABLE_FAILED,
577
ER_EVENT_NEITHER_M_EXPR_NOR_M_AT,
578
ER_COL_COUNT_DOESNT_MATCH_CORRUPTED,
579
ER_CANNOT_LOAD_FROM_TABLE,
580
ER_EVENT_CANNOT_DELETE,
581
ER_EVENT_COMPILE_ERROR,
583
ER_EVENT_DATA_TOO_LONG,
585
ER_WARN_DEPRECATED_SYNTAX_WITH_VER,
586
ER_CANT_WRITE_LOCK_LOG_TABLE,
587
ER_CANT_LOCK_LOG_TABLE,
588
ER_FOREIGN_DUPLICATE_KEY,
589
ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE,
590
ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR,
591
ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT,
592
ER_NDB_CANT_SWITCH_BINLOG_FORMAT,
593
ER_PARTITION_NO_TEMPORARY,
594
ER_PARTITION_CONST_DOMAIN_ERROR,
595
ER_PARTITION_FUNCTION_IS_NOT_ALLOWED,
597
ER_NULL_IN_VALUES_LESS_THAN,
598
ER_WRONG_PARTITION_NAME,
599
ER_CANT_CHANGE_TX_ISOLATION,
600
ER_DUP_ENTRY_AUTOINCREMENT_CASE,
601
ER_EVENT_MODIFY_QUEUE_ERROR,
602
ER_EVENT_SET_VAR_ERROR,
603
ER_PARTITION_MERGE_ERROR,
604
ER_CANT_ACTIVATE_LOG,
605
ER_RBR_NOT_AVAILABLE,
606
ER_BASE64_DECODE_ERROR,
607
ER_EVENT_RECURSION_FORBIDDEN,
609
ER_ONLY_INTEGERS_ALLOWED,
610
ER_UNSUPORTED_LOG_ENGINE,
611
ER_BAD_LOG_STATEMENT,
612
ER_CANT_RENAME_LOG_TABLE,
613
ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT,
614
ER_WRONG_PARAMETERS_TO_NATIVE_FCT,
615
ER_WRONG_PARAMETERS_TO_STORED_FCT,
616
ER_NATIVE_FCT_NAME_COLLISION,
617
ER_DUP_ENTRY_WITH_KEY_NAME,
618
ER_BINLOG_PURGE_EMFILE,
619
ER_EVENT_CANNOT_CREATE_IN_THE_PAST,
620
ER_EVENT_CANNOT_ALTER_IN_THE_PAST,
622
ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT,
623
ER_BINLOG_UNSAFE_STATEMENT,
624
ER_SLAVE_FATAL_ERROR,
625
ER_SLAVE_RELAY_LOG_READ_FAILURE,
626
ER_SLAVE_RELAY_LOG_WRITE_FAILURE,
627
ER_SLAVE_CREATE_EVENT_FAILURE,
628
ER_SLAVE_MASTER_COM_FAILURE,
629
ER_BINLOG_LOGGING_IMPOSSIBLE,
630
ER_VIEW_NO_CREATION_CTX,
631
ER_VIEW_INVALID_CREATION_CTX,
632
ER_SR_INVALID_CREATION_CTX,
633
ER_TRG_CORRUPTED_FILE,
634
ER_TRG_NO_CREATION_CTX,
635
ER_TRG_INVALID_CREATION_CTX,
636
ER_EVENT_INVALID_CREATION_CTX,
637
ER_TRG_CANT_OPEN_TABLE,
638
ER_CANT_CREATE_SROUTINE,
639
ER_SLAVE_AMBIGOUS_EXEC_MODE,
640
ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT,
641
ER_SLAVE_CORRUPT_EVENT,
642
ER_LOAD_DATA_INVALID_COLUMN,
643
ER_LOG_PURGE_NO_FILE,
644
ER_WARN_AUTO_CONVERT_LOCK,
645
ER_NO_AUTO_CONVERT_LOCK_STRICT,
646
ER_NO_AUTO_CONVERT_LOCK_TRANSACTION,
647
ER_NO_STORAGE_ENGINE,
648
ER_BACKUP_BACKUP_START,
649
ER_BACKUP_BACKUP_DONE,
650
ER_BACKUP_RESTORE_START,
651
ER_BACKUP_RESTORE_DONE,
652
ER_BACKUP_NOTHING_TO_BACKUP,
653
ER_BACKUP_CANNOT_INCLUDE_DB,
657
ER_BACKUP_BACKUP_PREPARE,
658
ER_BACKUP_RESTORE_PREPARE,
659
ER_BACKUP_INVALID_LOC,
663
ER_BACKUP_LIST_TABLES,
664
ER_BACKUP_LIST_DB_TABLES,
667
ER_BACKUP_TABLE_OPEN,
668
ER_BACKUP_READ_HEADER,
669
ER_BACKUP_WRITE_HEADER,
670
ER_BACKUP_NO_BACKUP_DRIVER,
671
ER_BACKUP_NOT_ACCEPTED,
672
ER_BACKUP_CREATE_BACKUP_DRIVER,
673
ER_BACKUP_CREATE_RESTORE_DRIVER,
674
ER_BACKUP_TOO_MANY_IMAGES,
675
ER_BACKUP_WRITE_META,
677
ER_BACKUP_CREATE_META,
679
ER_BACKUP_WRITE_DATA,
681
ER_BACKUP_NEXT_CHUNK,
682
ER_BACKUP_INIT_BACKUP_DRIVER,
683
ER_BACKUP_INIT_RESTORE_DRIVER,
684
ER_BACKUP_STOP_BACKUP_DRIVER,
685
ER_BACKUP_STOP_RESTORE_DRIVERS,
686
ER_BACKUP_PREPARE_DRIVER,
688
ER_BACKUP_UNLOCK_DRIVER,
689
ER_BACKUP_CANCEL_BACKUP,
690
ER_BACKUP_CANCEL_RESTORE,
693
ER_BACKUP_SEND_DATA_RETRY,
694
ER_BACKUP_OPEN_TABLES,
695
ER_BACKUP_THREAD_INIT,
696
ER_BACKUP_PROGRESS_TABLES,
698
ER_NO_SUCH_TABLESPACE,
699
ER_SLAVE_HEARTBEAT_FAILURE,
700
ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE,
701
ER_BACKUP_LOG_WRITE_ERROR,
702
ER_TABLESPACE_NOT_EMPTY,
704
ER_VCOL_BASED_ON_VCOL,
705
ER_VIRTUAL_COLUMN_FUNCTION_IS_NOT_ALLOWED,
706
ER_DATA_CONVERSION_ERROR_FOR_VIRTUAL_COLUMN,
707
ER_PRIMARY_KEY_BASED_ON_VIRTUAL_COLUMN,
708
ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN,
709
ER_WRONG_FK_OPTION_FOR_VIRTUAL_COLUMN,
710
ER_WARNING_NON_DEFAULT_VALUE_FOR_VIRTUAL_COLUMN,
711
ER_UNSUPPORTED_ACTION_ON_VIRTUAL_COLUMN,
712
ER_CONST_EXPR_IN_VCOL,
713
ER_ERROR_LAST= ER_CONST_EXPR_IN_VCOL