[][src]Enum msql_srv::ErrorKind

#[repr(u16)]
pub enum ErrorKind {
    ER_HASHCHK,
    ER_NISAMCHK,
    ER_NO,
    ER_YES,
    ER_CANT_CREATE_FILE,
    ER_CANT_CREATE_TABLE,
    ER_CANT_CREATE_DB,
    ER_DB_CREATE_EXISTS,
    ER_DB_DROP_EXISTS,
    ER_DB_DROP_DELETE,
    ER_DB_DROP_RMDIR,
    ER_CANT_DELETE_FILE,
    ER_CANT_FIND_SYSTEM_REC,
    ER_CANT_GET_STAT,
    ER_CANT_GET_WD,
    ER_CANT_LOCK,
    ER_CANT_OPEN_FILE,
    ER_FILE_NOT_FOUND,
    ER_CANT_READ_DIR,
    ER_CANT_SET_WD,
    ER_CHECKREAD,
    ER_DISK_FULL,
    ER_DUP_KEY,
    ER_ERROR_ON_CLOSE,
    ER_ERROR_ON_READ,
    ER_ERROR_ON_RENAME,
    ER_ERROR_ON_WRITE,
    ER_FILE_USED,
    ER_FILSORT_ABORT,
    ER_FORM_NOT_FOUND,
    ER_GET_ERRN,
    ER_ILLEGAL_HA,
    ER_KEY_NOT_FOUND,
    ER_NOT_FORM_FILE,
    ER_NOT_KEYFILE,
    ER_OLD_KEYFILE,
    ER_OPEN_AS_READONLY,
    ER_OUTOFMEMORY,
    ER_OUT_OF_SORTMEMORY,
    ER_UNEXPECTED_EOF,
    ER_CON_COUNT_ERROR,
    ER_OUT_OF_RESOURCES,
    ER_BAD_HOST_ERROR,
    ER_HANDSHAKE_ERROR,
    ER_DBACCESS_DENIED_ERROR,
    ER_ACCESS_DENIED_ERROR,
    ER_NO_DB_ERROR,
    ER_UNKNOWN_COM_ERROR,
    ER_BAD_NULL_ERROR,
    ER_BAD_DB_ERROR,
    ER_TABLE_EXISTS_ERROR,
    ER_BAD_TABLE_ERROR,
    ER_NON_UNIQ_ERROR,
    ER_SERVER_SHUTDOWN,
    ER_BAD_FIELD_ERROR,
    ER_WRONG_FIELD_WITH_GROUP,
    ER_WRONG_GROUP_FIELD,
    ER_WRONG_SUM_SELECT,
    ER_WRONG_VALUE_COUNT,
    ER_TOO_LONG_IDENT,
    ER_DUP_FIELDNAME,
    ER_DUP_KEYNAME,
    ER_DUP_ENTRY,
    ER_WRONG_FIELD_SPEC,
    ER_PARSE_ERROR,
    ER_EMPTY_QUERY,
    ER_NONUNIQ_TABLE,
    ER_INVALID_DEFAULT,
    ER_MULTIPLE_PRI_KEY,
    ER_TOO_MANY_KEYS,
    ER_TOO_MANY_KEY_PARTS,
    ER_TOO_LONG_KEY,
    ER_KEY_COLUMN_DOES_NOT_EXITS,
    ER_BLOB_USED_AS_KEY,
    ER_TOO_BIG_FIELDLENGTH,
    ER_WRONG_AUTO_KEY,
    ER_READY,
    ER_NORMAL_SHUTDOWN,
    ER_GOT_SIGNAL,
    ER_SHUTDOWN_COMPLETE,
    ER_FORCING_CLOSE,
    ER_IPSOCK_ERROR,
    ER_NO_SUCH_INDEX,
    ER_WRONG_FIELD_TERMINATORS,
    ER_BLOBS_AND_NO_TERMINATED,
    ER_TEXTFILE_NOT_READABLE,
    ER_FILE_EXISTS_ERROR,
    ER_LOAD_INF,
    ER_ALTER_INF,
    ER_WRONG_SUB_KEY,
    ER_CANT_REMOVE_ALL_FIELDS,
    ER_CANT_DROP_FIELD_OR_KEY,
    ER_INSERT_INF,
    ER_UPDATE_TABLE_USED,
    ER_NO_SUCH_THREAD,
    ER_KILL_DENIED_ERROR,
    ER_NO_TABLES_USED,
    ER_TOO_BIG_SET,
    ER_NO_UNIQUE_LOGFILE,
    ER_TABLE_NOT_LOCKED_FOR_WRITE,
    ER_TABLE_NOT_LOCKED,
    ER_BLOB_CANT_HAVE_DEFAULT,
    ER_WRONG_DB_NAME,
    ER_WRONG_TABLE_NAME,
    ER_TOO_BIG_SELECT,
    ER_UNKNOWN_ERROR,
    ER_UNKNOWN_PROCEDURE,
    ER_WRONG_PARAMCOUNT_TO_PROCEDURE,
    ER_WRONG_PARAMETERS_TO_PROCEDURE,
    ER_UNKNOWN_TABLE,
    ER_FIELD_SPECIFIED_TWICE,
    ER_INVALID_GROUP_FUNC_USE,
    ER_UNSUPPORTED_EXTENSION,
    ER_TABLE_MUST_HAVE_COLUMNS,
    ER_RECORD_FILE_FULL,
    ER_UNKNOWN_CHARACTER_SET,
    ER_TOO_MANY_TABLES,
    ER_TOO_MANY_FIELDS,
    ER_TOO_BIG_ROWSIZE,
    ER_STACK_OVERRUN,
    ER_WRONG_OUTER_JOIN,
    ER_NULL_COLUMN_IN_INDEX,
    ER_CANT_FIND_UDF,
    ER_CANT_INITIALIZE_UDF,
    ER_UDF_NO_PATHS,
    ER_UDF_EXISTS,
    ER_CANT_OPEN_LIBRARY,
    ER_CANT_FIND_DL_ENTRY,
    ER_FUNCTION_NOT_DEFINED,
    ER_HOST_IS_BLOCKED,
    ER_HOST_NOT_PRIVILEGED,
    ER_PASSWORD_ANONYMOUS_USER,
    ER_PASSWORD_NOT_ALLOWED,
    ER_PASSWORD_NO_MATCH,
    ER_UPDATE_INF,
    ER_CANT_CREATE_THREAD,
    ER_WRONG_VALUE_COUNT_ON_ROW,
    ER_CANT_REOPEN_TABLE,
    ER_INVALID_USE_OF_NULL,
    ER_REGEXP_ERROR,
    ER_MIX_OF_GROUP_FUNC_AND_FIELDS,
    ER_NONEXISTING_GRANT,
    ER_TABLEACCESS_DENIED_ERROR,
    ER_COLUMNACCESS_DENIED_ERROR,
    ER_ILLEGAL_GRANT_FOR_TABLE,
    ER_GRANT_WRONG_HOST_OR_USER,
    ER_NO_SUCH_TABLE,
    ER_NONEXISTING_TABLE_GRANT,
    ER_NOT_ALLOWED_COMMAND,
    ER_SYNTAX_ERROR,
    ER_DELAYED_CANT_CHANGE_LOCK,
    ER_TOO_MANY_DELAYED_THREADS,
    ER_ABORTING_CONNECTION,
    ER_NET_PACKET_TOO_LARGE,
    ER_NET_READ_ERROR_FROM_PIPE,
    ER_NET_FCNTL_ERROR,
    ER_NET_PACKETS_OUT_OF_ORDER,
    ER_NET_UNCOMPRESS_ERROR,
    ER_NET_READ_ERROR,
    ER_NET_READ_INTERRUPTED,
    ER_NET_ERROR_ON_WRITE,
    ER_NET_WRITE_INTERRUPTED,
    ER_TOO_LONG_STRING,
    ER_TABLE_CANT_HANDLE_BLOB,
    ER_TABLE_CANT_HANDLE_AUTO_INCREMENT,
    ER_DELAYED_INSERT_TABLE_LOCKED,
    ER_WRONG_COLUMN_NAME,
    ER_WRONG_KEY_COLUMN,
    ER_WRONG_MRG_TABLE,
    ER_DUP_UNIQUE,
    ER_BLOB_KEY_WITHOUT_LENGTH,
    ER_PRIMARY_CANT_HAVE_NULL,
    ER_TOO_MANY_ROWS,
    ER_REQUIRES_PRIMARY_KEY,
    ER_NO_RAID_COMPILED,
    ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE,
    ER_KEY_DOES_NOT_EXITS,
    ER_CHECK_NO_SUCH_TABLE,
    ER_CHECK_NOT_IMPLEMENTED,
    ER_CANT_DO_THIS_DURING_AN_TRANSACTION,
    ER_ERROR_DURING_COMMIT,
    ER_ERROR_DURING_ROLLBACK,
    ER_ERROR_DURING_FLUSH_LOGS,
    ER_ERROR_DURING_CHECKPOINT,
    ER_NEW_ABORTING_CONNECTION,
    ER_DUMP_NOT_IMPLEMENTED,
    ER_FLUSH_MASTER_BINLOG_CLOSED,
    ER_INDEX_REBUILD,
    ER_MASTER,
    ER_MASTER_NET_READ,
    ER_MASTER_NET_WRITE,
    ER_FT_MATCHING_KEY_NOT_FOUND,
    ER_LOCK_OR_ACTIVE_TRANSACTION,
    ER_UNKNOWN_SYSTEM_VARIABLE,
    ER_CRASHED_ON_USAGE,
    ER_CRASHED_ON_REPAIR,
    ER_WARNING_NOT_COMPLETE_ROLLBACK,
    ER_TRANS_CACHE_FULL,
    ER_SLAVE_MUST_STOP,
    ER_SLAVE_NOT_RUNNING,
    ER_BAD_SLAVE,
    ER_MASTER_INF,
    ER_SLAVE_THREAD,
    ER_TOO_MANY_USER_CONNECTIONS,
    ER_SET_CONSTANTS_ONLY,
    ER_LOCK_WAIT_TIMEOUT,
    ER_LOCK_TABLE_FULL,
    ER_READ_ONLY_TRANSACTION,
    ER_DROP_DB_WITH_READ_LOCK,
    ER_CREATE_DB_WITH_READ_LOCK,
    ER_WRONG_ARGUMENTS,
    ER_NO_PERMISSION_TO_CREATE_USER,
    ER_UNION_TABLES_IN_DIFFERENT_DIR,
    ER_LOCK_DEADLOCK,
    ER_TABLE_CANT_HANDLE_FT,
    ER_CANNOT_ADD_FOREIGN,
    ER_NO_REFERENCED_ROW,
    ER_ROW_IS_REFERENCED,
    ER_CONNECT_TO_MASTER,
    ER_QUERY_ON_MASTER,
    ER_ERROR_WHEN_EXECUTING_COMMAND,
    ER_WRONG_USAGE,
    ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT,
    ER_CANT_UPDATE_WITH_READLOCK,
    ER_MIXING_NOT_ALLOWED,
    ER_DUP_ARGUMENT,
    ER_USER_LIMIT_REACHED,
    ER_SPECIFIC_ACCESS_DENIED_ERROR,
    ER_LOCAL_VARIABLE,
    ER_GLOBAL_VARIABLE,
    ER_NO_DEFAULT,
    ER_WRONG_VALUE_FOR_VAR,
    ER_WRONG_TYPE_FOR_VAR,
    ER_VAR_CANT_BE_READ,
    ER_CANT_USE_OPTION_HERE,
    ER_NOT_SUPPORTED_YET,
    ER_MASTER_FATAL_ERROR_READING_BINLOG,
    ER_SLAVE_IGNORED_TABLE,
    ER_INCORRECT_GLOBAL_LOCAL_VAR,
    ER_WRONG_FK_DEF,
    ER_KEY_REF_DO_NOT_MATCH_TABLE_REF,
    ER_OPERAND_COLUMNS,
    ER_SUBQUERY_NO_1_ROW,
    ER_UNKNOWN_STMT_HANDLER,
    ER_CORRUPT_HELP_DB,
    ER_CYCLIC_REFERENCE,
    ER_AUTO_CONVERT,
    ER_ILLEGAL_REFERENCE,
    ER_DERIVED_MUST_HAVE_ALIAS,
    ER_SELECT_REDUCED,
    ER_TABLENAME_NOT_ALLOWED_HERE,
    ER_NOT_SUPPORTED_AUTH_MODE,
    ER_SPATIAL_CANT_HAVE_NULL,
    ER_COLLATION_CHARSET_MISMATCH,
    ER_SLAVE_WAS_RUNNING,
    ER_SLAVE_WAS_NOT_RUNNING,
    ER_TOO_BIG_FOR_UNCOMPRESS,
    ER_ZLIB_Z_MEM_ERROR,
    ER_ZLIB_Z_BUF_ERROR,
    ER_ZLIB_Z_DATA_ERROR,
    ER_CUT_VALUE_GROUP_CONCAT,
    ER_WARN_TOO_FEW_RECORDS,
    ER_WARN_TOO_MANY_RECORDS,
    ER_WARN_NULL_TO_NOTNULL,
    ER_WARN_DATA_OUT_OF_RANGE,
    WARN_DATA_TRUNCATED,
    ER_WARN_USING_OTHER_HANDLER,
    ER_CANT_AGGREGATE_2COLLATIONS,
    ER_DROP_USER,
    ER_REVOKE_GRANTS,
    ER_CANT_AGGREGATE_3COLLATIONS,
    ER_CANT_AGGREGATE_NCOLLATIONS,
    ER_VARIABLE_IS_NOT_STRUCT,
    ER_UNKNOWN_COLLATION,
    ER_SLAVE_IGNORED_SSL_PARAMS,
    ER_SERVER_IS_IN_SECURE_AUTH_MODE,
    ER_WARN_FIELD_RESOLVED,
    ER_BAD_SLAVE_UNTIL_COND,
    ER_MISSING_SKIP_SLAVE,
    ER_UNTIL_COND_IGNORED,
    ER_WRONG_NAME_FOR_INDEX,
    ER_WRONG_NAME_FOR_CATALOG,
    ER_WARN_QC_RESIZE,
    ER_BAD_FT_COLUMN,
    ER_UNKNOWN_KEY_CACHE,
    ER_WARN_HOSTNAME_WONT_WORK,
    ER_UNKNOWN_STORAGE_ENGINE,
    ER_WARN_DEPRECATED_SYNTAX,
    ER_NON_UPDATABLE_TABLE,
    ER_FEATURE_DISABLED,
    ER_OPTION_PREVENTS_STATEMENT,
    ER_DUPLICATED_VALUE_IN_TYPE,
    ER_TRUNCATED_WRONG_VALUE,
    ER_TOO_MUCH_AUTO_TIMESTAMP_COLS,
    ER_INVALID_ON_UPDATE,
    ER_UNSUPPORTED_PS,
    ER_GET_ERRMSG,
    ER_GET_TEMPORARY_ERRMSG,
    ER_UNKNOWN_TIME_ZONE,
    ER_WARN_INVALID_TIMESTAMP,
    ER_INVALID_CHARACTER_STRING,
    ER_WARN_ALLOWED_PACKET_OVERFLOWED,
    ER_CONFLICTING_DECLARATIONS,
    ER_SP_NO_RECURSIVE_CREATE,
    ER_SP_ALREADY_EXISTS,
    ER_SP_DOES_NOT_EXIST,
    ER_SP_DROP_FAILED,
    ER_SP_STORE_FAILED,
    ER_SP_LILABEL_MISMATCH,
    ER_SP_LABEL_REDEFINE,
    ER_SP_LABEL_MISMATCH,
    ER_SP_UNINIT_VAR,
    ER_SP_BADSELECT,
    ER_SP_BADRETURN,
    ER_SP_BADSTATEMENT,
    ER_UPDATE_LOG_DEPRECATED_IGNORED,
    ER_UPDATE_LOG_DEPRECATED_TRANSLATED,
    ER_QUERY_INTERRUPTED,
    ER_SP_WRONG_NO_OF_ARGS,
    ER_SP_COND_MISMATCH,
    ER_SP_NORETURN,
    ER_SP_NORETURNEND,
    ER_SP_BAD_CURSOR_QUERY,
    ER_SP_BAD_CURSOR_SELECT,
    ER_SP_CURSOR_MISMATCH,
    ER_SP_CURSOR_ALREADY_OPEN,
    ER_SP_CURSOR_NOT_OPEN,
    ER_SP_UNDECLARED_VAR,
    ER_SP_WRONG_NO_OF_FETCH_ARGS,
    ER_SP_FETCH_NO_DATA,
    ER_SP_DUP_PARAM,
    ER_SP_DUP_VAR,
    ER_SP_DUP_COND,
    ER_SP_DUP_CURS,
    ER_SP_CANT_ALTER,
    ER_SP_SUBSELECT_NYI,
    ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG,
    ER_SP_VARCOND_AFTER_CURSHNDLR,
    ER_SP_CURSOR_AFTER_HANDLER,
    ER_SP_CASE_NOT_FOUND,
    ER_FPARSER_TOO_BIG_FILE,
    ER_FPARSER_BAD_HEADER,
    ER_FPARSER_EOF_IN_COMMENT,
    ER_FPARSER_ERROR_IN_PARAMETER,
    ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER,
    ER_VIEW_NO_EXPLAIN,
    ER_FRM_UNKNOWN_TYPE,
    ER_WRONG_OBJECT,
    ER_NONUPDATEABLE_COLUMN,
    ER_VIEW_SELECT_DERIVED,
    ER_VIEW_SELECT_CLAUSE,
    ER_VIEW_SELECT_VARIABLE,
    ER_VIEW_SELECT_TMPTABLE,
    ER_VIEW_WRONG_LIST,
    ER_WARN_VIEW_MERGE,
    ER_WARN_VIEW_WITHOUT_KEY,
    ER_VIEW_INVALID,
    ER_SP_NO_DROP_SP,
    ER_SP_GOTO_IN_HNDLR,
    ER_TRG_ALREADY_EXISTS,
    ER_TRG_DOES_NOT_EXIST,
    ER_TRG_ON_VIEW_OR_TEMP_TABLE,
    ER_TRG_CANT_CHANGE_ROW,
    ER_TRG_NO_SUCH_ROW_IN_TRG,
    ER_NO_DEFAULT_FOR_FIELD,
    ER_DIVISION_BY_ZER,
    ER_TRUNCATED_WRONG_VALUE_FOR_FIELD,
    ER_ILLEGAL_VALUE_FOR_TYPE,
    ER_VIEW_NONUPD_CHECK,
    ER_VIEW_CHECK_FAILED,
    ER_PROCACCESS_DENIED_ERROR,
    ER_RELAY_LOG_FAIL,
    ER_PASSWD_LENGTH,
    ER_UNKNOWN_TARGET_BINLOG,
    ER_IO_ERR_LOG_INDEX_READ,
    ER_BINLOG_PURGE_PROHIBITED,
    ER_FSEEK_FAIL,
    ER_BINLOG_PURGE_FATAL_ERR,
    ER_LOG_IN_USE,
    ER_LOG_PURGE_UNKNOWN_ERR,
    ER_RELAY_LOG_INIT,
    ER_NO_BINARY_LOGGING,
    ER_RESERVED_SYNTAX,
    ER_WSAS_FAILED,
    ER_DIFF_GROUPS_PROC,
    ER_NO_GROUP_FOR_PROC,
    ER_ORDER_WITH_PROC,
    ER_LOGGING_PROHIBIT_CHANGING_OF,
    ER_NO_FILE_MAPPING,
    ER_WRONG_MAGIC,
    ER_PS_MANY_PARAM,
    ER_KEY_PART_0,
    ER_VIEW_CHECKSUM,
    ER_VIEW_MULTIUPDATE,
    ER_VIEW_NO_INSERT_FIELD_LIST,
    ER_VIEW_DELETE_MERGE_VIEW,
    ER_CANNOT_USER,
    ER_XAER_NOTA,
    ER_XAER_INVAL,
    ER_XAER_RMFAIL,
    ER_XAER_OUTSIDE,
    ER_XAER_RMERR,
    ER_XA_RBROLLBACK,
    ER_NONEXISTING_PROC_GRANT,
    ER_PROC_AUTO_GRANT_FAIL,
    ER_PROC_AUTO_REVOKE_FAIL,
    ER_DATA_TOO_LONG,
    ER_SP_BAD_SQLSTATE,
    ER_STARTUP,
    ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR,
    ER_CANT_CREATE_USER_WITH_GRANT,
    ER_WRONG_VALUE_FOR_TYPE,
    ER_TABLE_DEF_CHANGED,
    ER_SP_DUP_HANDLER,
    ER_SP_NOT_VAR_ARG,
    ER_SP_NO_RETSET,
    ER_CANT_CREATE_GEOMETRY_OBJECT,
    ER_FAILED_ROUTINE_BREAK_BINLOG,
    ER_BINLOG_UNSAFE_ROUTINE,
    ER_BINLOG_CREATE_ROUTINE_NEED_SUPER,
    ER_EXEC_STMT_WITH_OPEN_CURSOR,
    ER_STMT_HAS_NO_OPEN_CURSOR,
    ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG,
    ER_NO_DEFAULT_FOR_VIEW_FIELD,
    ER_SP_NO_RECURSION,
    ER_TOO_BIG_SCALE,
    ER_TOO_BIG_PRECISION,
    ER_M_BIGGER_THAN_D,
    ER_WRONG_LOCK_OF_SYSTEM_TABLE,
    ER_CONNECT_TO_FOREIGN_DATA_SOURCE,
    ER_QUERY_ON_FOREIGN_DATA_SOURCE,
    ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST,
    ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE,
    ER_FOREIGN_DATA_STRING_INVALID,
    ER_CANT_CREATE_FEDERATED_TABLE,
    ER_TRG_IN_WRONG_SCHEMA,
    ER_STACK_OVERRUN_NEED_MORE,
    ER_TOO_LONG_BODY,
    ER_WARN_CANT_DROP_DEFAULT_KEYCACHE,
    ER_TOO_BIG_DISPLAYWIDTH,
    ER_XAER_DUPID,
    ER_DATETIME_FUNCTION_OVERFLOW,
    ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG,
    ER_VIEW_PREVENT_UPDATE,
    ER_PS_NO_RECURSION,
    ER_SP_CANT_SET_AUTOCOMMIT,
    ER_MALFORMED_DEFINER,
    ER_VIEW_FRM_NO_USER,
    ER_VIEW_OTHER_USER,
    ER_NO_SUCH_USER,
    ER_FORBID_SCHEMA_CHANGE,
    ER_ROW_IS_REFERENCED_2,
    ER_NO_REFERENCED_ROW_2,
    ER_SP_BAD_VAR_SHADOW,
    ER_TRG_NO_DEFINER,
    ER_OLD_FILE_FORMAT,
    ER_SP_RECURSION_LIMIT,
    ER_SP_PROC_TABLE_CORRUPT,
    ER_SP_WRONG_NAME,
    ER_TABLE_NEEDS_UPGRADE,
    ER_SP_NO_AGGREGATE,
    ER_MAX_PREPARED_STMT_COUNT_REACHED,
    ER_VIEW_RECURSIVE,
    ER_NON_GROUPING_FIELD_USED,
    ER_TABLE_CANT_HANDLE_SPKEYS,
    ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA,
    ER_REMOVED_SPACES,
    ER_AUTOINC_READ_FAILED,
    ER_USERNAME,
    ER_HOSTNAME,
    ER_WRONG_STRING_LENGTH,
    ER_NON_INSERTABLE_TABLE,
    ER_ADMIN_WRONG_MRG_TABLE,
    ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT,
    ER_NAME_BECOMES_EMPTY,
    ER_AMBIGUOUS_FIELD_TERM,
    ER_FOREIGN_SERVER_EXISTS,
    ER_FOREIGN_SERVER_DOESNT_EXIST,
    ER_ILLEGAL_HA_CREATE_OPTION,
    ER_PARTITION_REQUIRES_VALUES_ERROR,
    ER_PARTITION_WRONG_VALUES_ERROR,
    ER_PARTITION_MAXVALUE_ERROR,
    ER_PARTITION_SUBPARTITION_ERROR,
    ER_PARTITION_SUBPART_MIX_ERROR,
    ER_PARTITION_WRONG_NO_PART_ERROR,
    ER_PARTITION_WRONG_NO_SUBPART_ERROR,
    ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR,
    ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR,
    ER_FIELD_NOT_FOUND_PART_ERROR,
    ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR,
    ER_INCONSISTENT_PARTITION_INFO_ERROR,
    ER_PARTITION_FUNC_NOT_ALLOWED_ERROR,
    ER_PARTITIONS_MUST_BE_DEFINED_ERROR,
    ER_RANGE_NOT_INCREASING_ERROR,
    ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR,
    ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR,
    ER_PARTITION_ENTRY_ERROR,
    ER_MIX_HANDLER_ERROR,
    ER_PARTITION_NOT_DEFINED_ERROR,
    ER_TOO_MANY_PARTITIONS_ERROR,
    ER_SUBPARTITION_ERROR,
    ER_CANT_CREATE_HANDLER_FILE,
    ER_BLOB_FIELD_IN_PART_FUNC_ERROR,
    ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF,
    ER_NO_PARTS_ERROR,
    ER_PARTITION_MGMT_ON_NONPARTITIONED,
    ER_FOREIGN_KEY_ON_PARTITIONED,
    ER_DROP_PARTITION_NON_EXISTENT,
    ER_DROP_LAST_PARTITION,
    ER_COALESCE_ONLY_ON_HASH_PARTITION,
    ER_REORG_HASH_ONLY_ON_SAME_N,
    ER_REORG_NO_PARAM_ERROR,
    ER_ONLY_ON_RANGE_LIST_PARTITION,
    ER_ADD_PARTITION_SUBPART_ERROR,
    ER_ADD_PARTITION_NO_NEW_PARTITION,
    ER_COALESCE_PARTITION_NO_PARTITION,
    ER_REORG_PARTITION_NOT_EXIST,
    ER_SAME_NAME_PARTITION,
    ER_NO_BINLOG_ERROR,
    ER_CONSECUTIVE_REORG_PARTITIONS,
    ER_REORG_OUTSIDE_RANGE,
    ER_PARTITION_FUNCTION_FAILURE,
    ER_PART_STATE_ERROR,
    ER_LIMITED_PART_RANGE,
    ER_PLUGIN_IS_NOT_LOADED,
    ER_WRONG_VALUE,
    ER_NO_PARTITION_FOR_GIVEN_VALUE,
    ER_FILEGROUP_OPTION_ONLY_ONCE,
    ER_CREATE_FILEGROUP_FAILED,
    ER_DROP_FILEGROUP_FAILED,
    ER_TABLESPACE_AUTO_EXTEND_ERROR,
    ER_WRONG_SIZE_NUMBER,
    ER_SIZE_OVERFLOW_ERROR,
    ER_ALTER_FILEGROUP_FAILED,
    ER_BINLOG_ROW_LOGGING_FAILED,
    ER_BINLOG_ROW_WRONG_TABLE_DEF,
    ER_BINLOG_ROW_RBR_TO_SBR,
    ER_EVENT_ALREADY_EXISTS,
    ER_EVENT_STORE_FAILED,
    ER_EVENT_DOES_NOT_EXIST,
    ER_EVENT_CANT_ALTER,
    ER_EVENT_DROP_FAILED,
    ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG,
    ER_EVENT_ENDS_BEFORE_STARTS,
    ER_EVENT_EXEC_TIME_IN_THE_PAST,
    ER_EVENT_OPEN_TABLE_FAILED,
    ER_EVENT_NEITHER_M_EXPR_NOR_M_AT,
    ER_COL_COUNT_DOESNT_MATCH_CORRUPTED,
    ER_CANNOT_LOAD_FROM_TABLE,
    ER_EVENT_CANNOT_DELETE,
    ER_EVENT_COMPILE_ERROR,
    ER_EVENT_SAME_NAME,
    ER_EVENT_DATA_TOO_LONG,
    ER_DROP_INDEX_FK,
    ER_WARN_DEPRECATED_SYNTAX_WITH_VER,
    ER_CANT_WRITE_LOCK_LOG_TABLE,
    ER_CANT_LOCK_LOG_TABLE,
    ER_FOREIGN_DUPLICATE_KEY,
    ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE,
    ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR,
    ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT,
    ER_NDB_CANT_SWITCH_BINLOG_FORMAT,
    ER_PARTITION_NO_TEMPORARY,
    ER_PARTITION_CONST_DOMAIN_ERROR,
    ER_PARTITION_FUNCTION_IS_NOT_ALLOWED,
    ER_DDL_LOG_ERROR,
    ER_NULL_IN_VALUES_LESS_THAN,
    ER_WRONG_PARTITION_NAME,
    ER_CANT_CHANGE_TX_ISOLATION,
    ER_DUP_ENTRY_AUTOINCREMENT_CASE,
    ER_EVENT_MODIFY_QUEUE_ERROR,
    ER_EVENT_SET_VAR_ERROR,
    ER_PARTITION_MERGE_ERROR,
    ER_CANT_ACTIVATE_LOG,
    ER_RBR_NOT_AVAILABLE,
    ER_BASE64_DECODE_ERROR,
    ER_EVENT_RECURSION_FORBIDDEN,
    ER_EVENTS_DB_ERROR,
    ER_ONLY_INTEGERS_ALLOWED,
    ER_UNSUPORTED_LOG_ENGINE,
    ER_BAD_LOG_STATEMENT,
    ER_CANT_RENAME_LOG_TABLE,
    ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT,
    ER_WRONG_PARAMETERS_TO_NATIVE_FCT,
    ER_WRONG_PARAMETERS_TO_STORED_FCT,
    ER_NATIVE_FCT_NAME_COLLISION,
    ER_DUP_ENTRY_WITH_KEY_NAME,
    ER_BINLOG_PURGE_EMFILE,
    ER_EVENT_CANNOT_CREATE_IN_THE_PAST,
    ER_EVENT_CANNOT_ALTER_IN_THE_PAST,
    ER_SLAVE_INCIDENT,
    ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT,
    ER_BINLOG_UNSAFE_STATEMENT,
    ER_SLAVE_FATAL_ERROR,
    ER_SLAVE_RELAY_LOG_READ_FAILURE,
    ER_SLAVE_RELAY_LOG_WRITE_FAILURE,
    ER_SLAVE_CREATE_EVENT_FAILURE,
    ER_SLAVE_MASTER_COM_FAILURE,
    ER_BINLOG_LOGGING_IMPOSSIBLE,
    ER_VIEW_NO_CREATION_CTX,
    ER_VIEW_INVALID_CREATION_CTX,
    ER_SR_INVALID_CREATION_CTX,
    ER_TRG_CORRUPTED_FILE,
    ER_TRG_NO_CREATION_CTX,
    ER_TRG_INVALID_CREATION_CTX,
    ER_EVENT_INVALID_CREATION_CTX,
    ER_TRG_CANT_OPEN_TABLE,
    ER_CANT_CREATE_SROUTINE,
    ER_UNUSED_11,
    ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT,
    ER_SLAVE_CORRUPT_EVENT,
    ER_LOAD_DATA_INVALID_COLUMN,
    ER_LOG_PURGE_NO_FILE,
    ER_XA_RBTIMEOUT,
    ER_XA_RBDEADLOCK,
    ER_NEED_REPREPARE,
    ER_DELAYED_NOT_SUPPORTED,
    WARN_NO_MASTER_INF,
    WARN_OPTION_IGNORED,
    WARN_PLUGIN_DELETE_BUILTIN,
    WARN_PLUGIN_BUSY,
    ER_VARIABLE_IS_READONLY,
    ER_WARN_ENGINE_TRANSACTION_ROLLBACK,
    ER_SLAVE_HEARTBEAT_FAILURE,
    ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE,
    ER_NDB_REPLICATION_SCHEMA_ERROR,
    ER_CONFLICT_FN_PARSE_ERROR,
    ER_EXCEPTIONS_WRITE_ERROR,
    ER_TOO_LONG_TABLE_COMMENT,
    ER_TOO_LONG_FIELD_COMMENT,
    ER_FUNC_INEXISTENT_NAME_COLLISION,
    ER_DATABASE_NAME,
    ER_TABLE_NAME,
    ER_PARTITION_NAME,
    ER_SUBPARTITION_NAME,
    ER_TEMPORARY_NAME,
    ER_RENAMED_NAME,
    ER_TOO_MANY_CONCURRENT_TRXS,
    WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED,
    ER_DEBUG_SYNC_TIMEOUT,
    ER_DEBUG_SYNC_HIT_LIMIT,
    ER_DUP_SIGNAL_SET,
    ER_SIGNAL_WARN,
    ER_SIGNAL_NOT_FOUND,
    ER_SIGNAL_EXCEPTION,
    ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER,
    ER_SIGNAL_BAD_CONDITION_TYPE,
    WARN_COND_ITEM_TRUNCATED,
    ER_COND_ITEM_TOO_LONG,
    ER_UNKNOWN_LOCALE,
    ER_SLAVE_IGNORE_SERVER_IDS,
    ER_QUERY_CACHE_DISABLED,
    ER_SAME_NAME_PARTITION_FIELD,
    ER_PARTITION_COLUMN_LIST_ERROR,
    ER_WRONG_TYPE_COLUMN_VALUE_ERROR,
    ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR,
    ER_MAXVALUE_IN_VALUES_IN,
    ER_TOO_MANY_VALUES_ERROR,
    ER_ROW_SINGLE_PARTITION_FIELD_ERROR,
    ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD,
    ER_PARTITION_FIELDS_TOO_LONG,
    ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE,
    ER_BINLOG_ROW_MODE_AND_STMT_ENGINE,
    ER_BINLOG_UNSAFE_AND_STMT_ENGINE,
    ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE,
    ER_BINLOG_STMT_MODE_AND_ROW_ENGINE,
    ER_BINLOG_ROW_INJECTION_AND_STMT_MODE,
    ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE,
    ER_BINLOG_UNSAFE_LIMIT,
    ER_BINLOG_UNSAFE_INSERT_DELAYED,
    ER_BINLOG_UNSAFE_SYSTEM_TABLE,
    ER_BINLOG_UNSAFE_AUTOINC_COLUMNS,
    ER_BINLOG_UNSAFE_UDF,
    ER_BINLOG_UNSAFE_SYSTEM_VARIABLE,
    ER_BINLOG_UNSAFE_SYSTEM_FUNCTION,
    ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS,
    ER_MESSAGE_AND_STATEMENT,
    ER_SLAVE_CONVERSION_FAILED,
    ER_SLAVE_CANT_CREATE_CONVERSION,
    ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT,
    ER_PATH_LENGTH,
    ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT,
    ER_WRONG_NATIVE_TABLE_STRUCTURE,
    ER_WRONG_PERFSCHEMA_USAGE,
    ER_WARN_I_S_SKIPPED_TABLE,
    ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT,
    ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT,
    ER_SPATIAL_MUST_HAVE_GEOM_COL,
    ER_TOO_LONG_INDEX_COMMENT,
    ER_LOCK_ABORTED,
    ER_DATA_OUT_OF_RANGE,
    ER_WRONG_SPVAR_TYPE_IN_LIMIT,
    ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE,
    ER_BINLOG_UNSAFE_MIXED_STATEMENT,
    ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN,
    ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN,
    ER_FAILED_READ_FROM_PAR_FILE,
    ER_VALUES_IS_NOT_INT_TYPE_ERROR,
    ER_ACCESS_DENIED_NO_PASSWORD_ERROR,
    ER_SET_PASSWORD_AUTH_PLUGIN,
    ER_GRANT_PLUGIN_USER_EXISTS,
    ER_TRUNCATE_ILLEGAL_FK,
    ER_PLUGIN_IS_PERMANENT,
    ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN,
    ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX,
    ER_STMT_CACHE_FULL,
    ER_MULTI_UPDATE_KEY_CONFLICT,
    ER_TABLE_NEEDS_REBUILD,
    WARN_OPTION_BELOW_LIMIT,
    ER_INDEX_COLUMN_TOO_LONG,
    ER_ERROR_IN_TRIGGER_BODY,
    ER_ERROR_IN_UNKNOWN_TRIGGER_BODY,
    ER_INDEX_CORRUPT,
    ER_UNDO_RECORD_TOO_BIG,
    ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT,
    ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE,
    ER_BINLOG_UNSAFE_REPLACE_SELECT,
    ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT,
    ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT,
    ER_BINLOG_UNSAFE_UPDATE_IGNORE,
    ER_PLUGIN_NO_UNINSTALL,
    ER_PLUGIN_NO_INSTALL,
    ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT,
    ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC,
    ER_BINLOG_UNSAFE_INSERT_TWO_KEYS,
    ER_TABLE_IN_FK_CHECK,
    ER_UNSUPPORTED_ENGINE,
    ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST,
    ER_CANNOT_LOAD_FROM_TABLE_V2,
    ER_MASTER_DELAY_VALUE_OUT_OF_RANGE,
    ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT,
    ER_PARTITION_EXCHANGE_DIFFERENT_OPTION,
    ER_PARTITION_EXCHANGE_PART_TABLE,
    ER_PARTITION_EXCHANGE_TEMP_TABLE,
    ER_PARTITION_INSTEAD_OF_SUBPARTITION,
    ER_UNKNOWN_PARTITION,
    ER_TABLES_DIFFERENT_METADATA,
    ER_ROW_DOES_NOT_MATCH_PARTITION,
    ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX,
    ER_WARN_INDEX_NOT_APPLICABLE,
    ER_PARTITION_EXCHANGE_FOREIGN_KEY,
    ER_NO_SUCH_KEY_VALUE,
    ER_RPL_INFO_DATA_TOO_LONG,
    ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE,
    ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE,
    ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX,
    ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT,
    ER_PARTITION_CLAUSE_ON_NONPARTITIONED,
    ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET,
    ER_NO_SUCH_PARTITION_UNUSED,
    ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE,
    ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE,
    ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE,
    ER_MTS_FEATURE_IS_NOT_SUPPORTED,
    ER_MTS_UPDATED_DBS_GREATER_MAX,
    ER_MTS_CANT_PARALLEL,
    ER_MTS_INCONSISTENT_DATA,
    ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING,
    ER_DA_INVALID_CONDITION_NUMBER,
    ER_INSECURE_PLAIN_TEXT,
    ER_INSECURE_CHANGE_MASTER,
    ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO,
    ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO,
    ER_SQLTHREAD_WITH_SECURE_SLAVE,
    ER_TABLE_HAS_NO_FT,
    ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER,
    ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION,
    ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST,
    ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION_WHEN_GTID_NEXT_LIST_IS_NULL,
    ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION,
    ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL,
    ER_SKIPPING_LOGGED_TRANSACTION,
    ER_MALFORMED_GTID_SET_SPECIFICATION,
    ER_MALFORMED_GTID_SET_ENCODING,
    ER_MALFORMED_GTID_SPECIFICATION,
    ER_GNO_EXHAUSTED,
    ER_BAD_SLAVE_AUTO_POSITION,
    ER_AUTO_POSITION_REQUIRES_GTID_MODE_ON,
    ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET,
    ER_GTID_MODE_2_OR_3_REQUIRES_DISABLE_GTID_UNSAFE_STATEMENTS_ON,
    ER_GTID_MODE_REQUIRES_BINLOG,
    ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF,
    ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON,
    ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF,
    ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF,
    ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE,
    ER_GTID_UNSAFE_CREATE_SELECT,
    ER_GTID_UNSAFE_CREATE_DROP_TEMPORARY_TABLE_IN_TRANSACTION,
    ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME,
    ER_MASTER_HAS_PURGED_REQUIRED_GTIDS,
    ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID,
    ER_UNKNOWN_EXPLAIN_FORMAT,
    ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION,
    ER_TOO_LONG_TABLE_PARTITION_COMMENT,
    ER_SLAVE_CONFIGURATION,
    ER_INNODB_FT_LIMIT,
    ER_INNODB_NO_FT_TEMP_TABLE,
    ER_INNODB_FT_WRONG_DOCID_COLUMN,
    ER_INNODB_FT_WRONG_DOCID_INDEX,
    ER_INNODB_ONLINE_LOG_TOO_BIG,
    ER_UNKNOWN_ALTER_ALGORITHM,
    ER_UNKNOWN_ALTER_LOCK,
    ER_MTS_CHANGE_MASTER_CANT_RUN_WITH_GAPS,
    ER_MTS_RECOVERY_FAILURE,
    ER_MTS_RESET_WORKERS,
    ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2,
    ER_SLAVE_SILENT_RETRY_TRANSACTION,
    ER_DISCARD_FK_CHECKS_RUNNING,
    ER_TABLE_SCHEMA_MISMATCH,
    ER_TABLE_IN_SYSTEM_TABLESPACE,
    ER_IO_READ_ERROR,
    ER_IO_WRITE_ERROR,
    ER_TABLESPACE_MISSING,
    ER_TABLESPACE_EXISTS,
    ER_TABLESPACE_DISCARDED,
    ER_INTERNAL_ERROR,
    ER_INNODB_IMPORT_ERROR,
    ER_INNODB_INDEX_CORRUPT,
    ER_INVALID_YEAR_COLUMN_LENGTH,
    ER_NOT_VALID_PASSWORD,
    ER_MUST_CHANGE_PASSWORD,
    ER_FK_NO_INDEX_CHILD,
    ER_FK_NO_INDEX_PARENT,
    ER_FK_FAIL_ADD_SYSTEM,
    ER_FK_CANNOT_OPEN_PARENT,
    ER_FK_INCORRECT_OPTION,
    ER_FK_DUP_NAME,
    ER_PASSWORD_FORMAT,
    ER_FK_COLUMN_CANNOT_DROP,
    ER_FK_COLUMN_CANNOT_DROP_CHILD,
    ER_FK_COLUMN_NOT_NULL,
    ER_DUP_INDEX,
    ER_FK_COLUMN_CANNOT_CHANGE,
    ER_FK_COLUMN_CANNOT_CHANGE_CHILD,
    ER_FK_CANNOT_DELETE_PARENT,
    ER_MALFORMED_PACKET,
    ER_READ_ONLY_MODE,
    ER_GTID_NEXT_TYPE_UNDEFINED_GROUP,
    ER_VARIABLE_NOT_SETTABLE_IN_SP,
    ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF,
    ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY,
    ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY,
    ER_GTID_PURGED_WAS_CHANGED,
    ER_GTID_EXECUTED_WAS_CHANGED,
    ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES,
    ER_ALTER_OPERATION_NOT_SUPPORTED,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_IGNORE,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS,
    ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE,
    ER_DUP_UNKNOWN_IN_INDEX,
    ER_IDENT_CAUSES_TOO_LONG_PATH,
    ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL,
    ER_MUST_CHANGE_PASSWORD_LOGIN,
    ER_ROW_IN_WRONG_PARTITION,
    ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX,
    ER_INNODB_NO_FT_USES_PARSER,
    ER_BINLOG_LOGICAL_CORRUPTION,
    ER_WARN_PURGE_LOG_IN_USE,
    ER_WARN_PURGE_LOG_IS_ACTIVE,
    ER_AUTO_INCREMENT_CONFLICT,
    WARN_ON_BLOCKHOLE_IN_RBR,
    ER_SLAVE_MI_INIT_REPOSITORY,
    ER_SLAVE_RLI_INIT_REPOSITORY,
    ER_ACCESS_DENIED_CHANGE_USER_ERROR,
    ER_INNODB_READ_ONLY,
    ER_STOP_SLAVE_SQL_THREAD_TIMEOUT,
    ER_STOP_SLAVE_IO_THREAD_TIMEOUT,
    ER_TABLE_CORRUPT,
    ER_TEMP_FILE_WRITE_FAILURE,
    ER_INNODB_FT_AUX_NOT_HEX_ID,
    ER_OLD_TEMPORALS_UPGRADED,
    ER_INNODB_FORCED_RECOVERY,
    ER_AES_INVALID_IV,
    ER_PLUGIN_CANNOT_BE_UNINSTALLED,
    ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_GTID_GROUP,
    ER_SLAVE_HAS_MORE_GTIDS_THAN_MASTER,
}

MySQL error type

Variants

ER_HASHCHK

hashchk

ER_NISAMCHK

isamchk

ER_NO

NO

ER_YES

YES

ER_CANT_CREATE_FILE

Can't create file '%s' (errno: %d)

ER_CANT_CREATE_TABLE

Can't create table '%s' (errno: %d)

ER_CANT_CREATE_DB

Can't create database '%s' (errno: %d

ER_DB_CREATE_EXISTS

Can't create database '%s'; database exists

ER_DB_DROP_EXISTS

Can't drop database '%s'; database doesn't exist

ER_DB_DROP_DELETE

Error dropping database (can't delete '%s', errno: %d)

ER_DB_DROP_RMDIR

Error dropping database (can't rmdir '%s', errno: %d)

ER_CANT_DELETE_FILE

Error on delete of '%s' (errno: %d)

ER_CANT_FIND_SYSTEM_REC

Can't read record in system table

ER_CANT_GET_STAT

Can't get status of '%s' (errno: %d)

ER_CANT_GET_WD

Can't get working directory (errno: %d)

ER_CANT_LOCK

Can't lock file (errno: %d)

ER_CANT_OPEN_FILE

Can't open file: '%s' (errno: %d)

ER_FILE_NOT_FOUND

Can't find file: '%s' (errno: %d)

ER_CANT_READ_DIR

Can't read dir of '%s' (errno: %d)

ER_CANT_SET_WD

Can't change dir to '%s' (errno: %d)

ER_CHECKREAD

Record has changed since last read in table '%s'

ER_DISK_FULL

Disk full (%s); waiting for someone to free some space...

ER_DUP_KEY

Can't write; duplicate key in table '%s'

ER_ERROR_ON_CLOSE

Error on close of '%s' (errno: %d)

ER_ERROR_ON_READ

Error reading file '%s' (errno: %d)

ER_ERROR_ON_RENAME

Error on rename of '%s' to '%s' (errno: %d)

ER_ERROR_ON_WRITE

Error writing file '%s' (errno: %d)

ER_FILE_USED

'%s' is locked against change

ER_FILSORT_ABORT

Sort aborted

ER_FORM_NOT_FOUND

View '%s' doesn't exist for '%s'

ER_GET_ERRN

Got error %d from storage engine

ER_ILLEGAL_HA

Table storage engine for '%s' doesn't have this option

ER_KEY_NOT_FOUND

Can't find record in '%s'

ER_NOT_FORM_FILE

Incorrect information in file: '%s'

ER_NOT_KEYFILE

Incorrect key file for table '%s'; try to repair it

ER_OLD_KEYFILE

Old key file for table '%s'; repair it!

ER_OPEN_AS_READONLY

Table '%s' is read only

ER_OUTOFMEMORY

Out of memory; restart server and try again (needed %d bytes)

ER_OUT_OF_SORTMEMORY

Out of sort memory, consider increasing server sort buffer size

ER_UNEXPECTED_EOF

Unexpected EOF found when reading file '%s' (Errno: %d)

ER_CON_COUNT_ERROR

Too many connections

ER_OUT_OF_RESOURCES

Out of memory; check if mysqld or some other process uses all available memory; if not, you may have to use 'ulimit' to allow mysqld to use more memory or you can add more swap space

ER_BAD_HOST_ERROR

Can't get hostname for your address

ER_HANDSHAKE_ERROR

Bad handshake

ER_DBACCESS_DENIED_ERROR

Access denied for user '%s'@'%s' to database '%s'

ER_ACCESS_DENIED_ERROR

Access denied for user '%s'@'%s' (using password: %s)

ER_NO_DB_ERROR

No database selected

ER_UNKNOWN_COM_ERROR

Unknown command

ER_BAD_NULL_ERROR

Column '%s' cannot be null

ER_BAD_DB_ERROR

Unknown database '%s'

ER_TABLE_EXISTS_ERROR

Table '%s' already exists

ER_BAD_TABLE_ERROR

Unknown table '%s'

ER_NON_UNIQ_ERROR

Column '%s' in %s is ambiguous

ER_SERVER_SHUTDOWN

Server shutdown in progress

ER_BAD_FIELD_ERROR

Unknown column '%s' in '%s'

ER_WRONG_FIELD_WITH_GROUP

'%s' isn't in GROUP BY

ER_WRONG_GROUP_FIELD

Can't group on '%s'

ER_WRONG_SUM_SELECT

Statement has sum functions and columns in same statement

ER_WRONG_VALUE_COUNT

Column count doesn't match value count

ER_TOO_LONG_IDENT

Identifier name '%s' is too long

ER_DUP_FIELDNAME

Duplicate column name '%s'

ER_DUP_KEYNAME

Duplicate key name '%s'

ER_DUP_ENTRY

Duplicate entry '%s' for key %d

ER_WRONG_FIELD_SPEC

Incorrect column specifier for column '%s'

ER_PARSE_ERROR

%s near '%s' at line %d

ER_EMPTY_QUERY

Query was empty

ER_NONUNIQ_TABLE

Not unique table/alias: '%s'

ER_INVALID_DEFAULT

Invalid default value for '%s'

ER_MULTIPLE_PRI_KEY

Multiple primary key defined

ER_TOO_MANY_KEYS

Too many keys specified; max %d keys allowed

ER_TOO_MANY_KEY_PARTS

Too many key parts specified; max %d parts allowed

ER_TOO_LONG_KEY

Specified key was too long; max key length is %d bytes

ER_KEY_COLUMN_DOES_NOT_EXITS

Key column '%s' doesn't exist in table

ER_BLOB_USED_AS_KEY

BLOB column '%s' can't be used in key specification with the used table type

ER_TOO_BIG_FIELDLENGTH

Column length too big for column '%s' (max = %lu); use BLOB or TEXT instead

ER_WRONG_AUTO_KEY

Incorrect table definition; there can be only one auto column and it must be defined as a key

ER_READY

%s: ready for connections. Version: '%s' socket: '%s' port: %d

ER_NORMAL_SHUTDOWN

%s: Normal shutdown

ER_GOT_SIGNAL

%s: Got signal %d. Aborting!

ER_SHUTDOWN_COMPLETE

%s: Shutdown complete

ER_FORCING_CLOSE

%s: Forcing close of thread %ld user: '%s'

ER_IPSOCK_ERROR

Can't create IP socket

ER_NO_SUCH_INDEX

Table '%s' has no index like the one used in CREATE INDEX; recreate the table

ER_WRONG_FIELD_TERMINATORS

Field separator argument is not what is expected; check the manual

ER_BLOBS_AND_NO_TERMINATED

You can't use fixed rowlength with BLOBs; please use 'fields terminated by'

ER_TEXTFILE_NOT_READABLE

The file '%s' must be in the database directory or be readable by all

ER_FILE_EXISTS_ERROR

File '%s' already exists

ER_LOAD_INF

Records: %ld Deleted: %ld Skipped: %ld Warnings: %ld

ER_ALTER_INF

Records: %ld Duplicates: %ld

ER_WRONG_SUB_KEY

Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys

ER_CANT_REMOVE_ALL_FIELDS

You can't delete all columns with ALTER TABLE; use DROP TABLE instead

ER_CANT_DROP_FIELD_OR_KEY

Can't DROP '%s'; check that column/key exists

ER_INSERT_INF

Records: %ld Duplicates: %ld Warnings: %ld

ER_UPDATE_TABLE_USED

You can't specify target table '%s' for update in FROM clause

ER_NO_SUCH_THREAD

Unknown thread id: %lu

ER_KILL_DENIED_ERROR

You are not owner of thread %lu

ER_NO_TABLES_USED

No tables used

ER_TOO_BIG_SET

Too many strings for column %s and SET

ER_NO_UNIQUE_LOGFILE

Can't generate a unique log-filename %s.(1-999)

ER_TABLE_NOT_LOCKED_FOR_WRITE

Table '%s' was locked with a READ lock and can't be updated

ER_TABLE_NOT_LOCKED

Table '%s' was not locked with LOCK TABLES

ER_BLOB_CANT_HAVE_DEFAULT

BLOB/TEXT column '%s' can't have a default value

ER_WRONG_DB_NAME

Incorrect database name '%s'

ER_WRONG_TABLE_NAME

Incorrect table name '%s'

ER_TOO_BIG_SELECT

The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay

ER_UNKNOWN_ERROR

Unknown error

ER_UNKNOWN_PROCEDURE

Unknown procedure '%s'

ER_WRONG_PARAMCOUNT_TO_PROCEDURE

Incorrect parameter count to procedure '%s'

ER_WRONG_PARAMETERS_TO_PROCEDURE

Incorrect parameters to procedure '%s'

ER_UNKNOWN_TABLE

Unknown table '%s' in %s

ER_FIELD_SPECIFIED_TWICE

Column '%s' specified twice

ER_INVALID_GROUP_FUNC_USE

Invalid use of group function

ER_UNSUPPORTED_EXTENSION

Table '%s' uses an extension that doesn't exist in this MariaDB version

ER_TABLE_MUST_HAVE_COLUMNS

A table must have at least 1 column

ER_RECORD_FILE_FULL

The table '%s' is full

ER_UNKNOWN_CHARACTER_SET

Unknown character set: '%s'

ER_TOO_MANY_TABLES

Too many tables; MariaDB can only use %d tables in a join

ER_TOO_MANY_FIELDS

Too many columns

ER_TOO_BIG_ROWSIZE

Row size too large. The maximum row size for the used table type, not counting BLOBs, is %ld. You have to change some columns to TEXT or BLOBs

ER_STACK_OVERRUN

Thread stack overrun: Used: %ld of a %ld stack. Use 'mysqld --thread_stack=#' to specify a bigger stack if needed

ER_WRONG_OUTER_JOIN

Cross dependency found in OUTER JOIN; examine your ON conditions

ER_NULL_COLUMN_IN_INDEX

Table handler doesn't support NULL in given index. Please change column '%s' to be NOT NULL or use another handler

ER_CANT_FIND_UDF

Can't load function '%s'

ER_CANT_INITIALIZE_UDF

Can't initialize function '%s'; %s

ER_UDF_NO_PATHS

No paths allowed for shared library

ER_UDF_EXISTS

Function '%s' already exists

ER_CANT_OPEN_LIBRARY

Can't open shared library '%s' (Errno: %d %s)

ER_CANT_FIND_DL_ENTRY

Can't find symbol '%s' in library

ER_FUNCTION_NOT_DEFINED

Function '%s' is not defined

ER_HOST_IS_BLOCKED

Host '%s' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

ER_HOST_NOT_PRIVILEGED

Host '%s' is not allowed to connect to this MariaDB server

ER_PASSWORD_ANONYMOUS_USER

You are using MariaDB as an anonymous user and anonymous users are not allowed to change passwords

ER_PASSWORD_NOT_ALLOWED

You must have privileges to update tables in the mysql database to be able to change passwords for others

ER_PASSWORD_NO_MATCH

Can't find any matching row in the user table

ER_UPDATE_INF

Rows matched: %ld Changed: %ld Warnings: %ld

ER_CANT_CREATE_THREAD

Can't create a new thread (Errno %d); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug

ER_WRONG_VALUE_COUNT_ON_ROW

Column count doesn't match value count at row %ld

ER_CANT_REOPEN_TABLE

Can't reopen table: '%s'

ER_INVALID_USE_OF_NULL

Invalid use of NULL value

ER_REGEXP_ERROR

Got error '%s' from regexp

ER_MIX_OF_GROUP_FUNC_AND_FIELDS

Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause

ER_NONEXISTING_GRANT

There is no such grant defined for user '%s' on host '%s'

ER_TABLEACCESS_DENIED_ERROR

%s command denied to user '%s'@'%s' for table '%s'

ER_COLUMNACCESS_DENIED_ERROR

%s command denied to user '%s'@'%s' for column '%s' in table '%s'

ER_ILLEGAL_GRANT_FOR_TABLE

Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used

ER_GRANT_WRONG_HOST_OR_USER

The host or user argument to GRANT is too long

ER_NO_SUCH_TABLE

Table '%s.%s' doesn't exist

ER_NONEXISTING_TABLE_GRANT

There is no such grant defined for user '%s' on host '%s' on table '%s'

ER_NOT_ALLOWED_COMMAND

The used command is not allowed with this MariaDB version

ER_SYNTAX_ERROR

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use

ER_DELAYED_CANT_CHANGE_LOCK

Delayed insert thread couldn't get requested lock for table %s

ER_TOO_MANY_DELAYED_THREADS

Too many delayed threads in use

ER_ABORTING_CONNECTION

Aborted connection %ld to db: '%s' user: '%s' (%s)

ER_NET_PACKET_TOO_LARGE

Got a packet bigger than 'max_allowed_packet' bytes

ER_NET_READ_ERROR_FROM_PIPE

Got a read error from the connection pipe

ER_NET_FCNTL_ERROR

Got an error from fcntl()

ER_NET_PACKETS_OUT_OF_ORDER

Got packets out of order

ER_NET_UNCOMPRESS_ERROR

Couldn't uncompress communication packet

ER_NET_READ_ERROR

Got an error reading communication packets

ER_NET_READ_INTERRUPTED

Got timeout reading communication packets

ER_NET_ERROR_ON_WRITE

Got an error writing communication packets

ER_NET_WRITE_INTERRUPTED

Got timeout writing communication packets

ER_TOO_LONG_STRING

Result string is longer than 'max_allowed_packet' bytes

ER_TABLE_CANT_HANDLE_BLOB

The used table type doesn't support BLOB/TEXT columns

ER_TABLE_CANT_HANDLE_AUTO_INCREMENT

The used table type doesn't support AUTO_INCREMENT columns

ER_DELAYED_INSERT_TABLE_LOCKED

INSERT DELAYED can't be used with table '%s' because it is locked with LOCK TABLES

ER_WRONG_COLUMN_NAME

Incorrect column name '%s'

ER_WRONG_KEY_COLUMN

The used storage engine can't index column '%s'

ER_WRONG_MRG_TABLE

Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist

ER_DUP_UNIQUE

Can't write, because of unique constraint, to table '%s'

ER_BLOB_KEY_WITHOUT_LENGTH

BLOB/TEXT column '%s' used in key specification without a key length

ER_PRIMARY_CANT_HAVE_NULL

All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead

ER_TOO_MANY_ROWS

Result consisted of more than one row

ER_REQUIRES_PRIMARY_KEY

This table type requires a primary key

ER_NO_RAID_COMPILED

This version of MariaDB is not compiled with RAID support

ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE

You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column

ER_KEY_DOES_NOT_EXITS

Key '%s' doesn't exist in table '%s'

ER_CHECK_NO_SUCH_TABLE

Can't open table

ER_CHECK_NOT_IMPLEMENTED

The storage engine for the table doesn't support %s

ER_CANT_DO_THIS_DURING_AN_TRANSACTION

You are not allowed to execute this command in a transaction

ER_ERROR_DURING_COMMIT

Got error %d during COMMIT

ER_ERROR_DURING_ROLLBACK

Got error %d during ROLLBACK

ER_ERROR_DURING_FLUSH_LOGS

Got error %d during FLUSH_LOGS

ER_ERROR_DURING_CHECKPOINT

Got error %d during CHECKPOINT

ER_NEW_ABORTING_CONNECTION

Aborted connection %ld to db: '%s' user: '%s' host: '%s' (%s)

ER_DUMP_NOT_IMPLEMENTED

The storage engine for the table does not support binary table dump

ER_FLUSH_MASTER_BINLOG_CLOSED

Binlog closed, cannot RESET MASTER

ER_INDEX_REBUILD

Failed rebuilding the index of dumped table '%s'

ER_MASTER

Error from master: '%s'

ER_MASTER_NET_READ

Net error reading from master

ER_MASTER_NET_WRITE

Net error writing to master

ER_FT_MATCHING_KEY_NOT_FOUND

Can't find FULLTEXT index matching the column list

ER_LOCK_OR_ACTIVE_TRANSACTION

Can't execute the given command because you have active locked tables or an active transaction

ER_UNKNOWN_SYSTEM_VARIABLE

Unknown system variable '%s'

ER_CRASHED_ON_USAGE

Table '%s' is marked as crashed and should be repaired

ER_CRASHED_ON_REPAIR

Table '%s' is marked as crashed and last (automatic?) repair failed

ER_WARNING_NOT_COMPLETE_ROLLBACK

Some non-transactional changed tables couldn't be rolled back

ER_TRANS_CACHE_FULL

Multi-statement transaction required more than 'max_binlog_cache_size' bytes of storage; increase this mysqld variable and try again

ER_SLAVE_MUST_STOP

This operation cannot be performed with a running slave; run STOP SLAVE first

ER_SLAVE_NOT_RUNNING

This operation requires a running slave; configure slave and do START SLAVE

ER_BAD_SLAVE

The server is not configured as slave; fix in config file or with CHANGE MASTER TO

ER_MASTER_INF

Could not initialize master info structure; more error messages can be found in the MariaDB error log

ER_SLAVE_THREAD

Could not create slave thread; check system resources

ER_TOO_MANY_USER_CONNECTIONS

User %s already has more than 'max_user_connections' active connections

ER_SET_CONSTANTS_ONLY

You may only use constant expressions with SET

ER_LOCK_WAIT_TIMEOUT

Lock wait timeout exceeded; try restarting transaction

ER_LOCK_TABLE_FULL

The total number of locks exceeds the lock table size

ER_READ_ONLY_TRANSACTION

Update locks cannot be acquired during a READ UNCOMMITTED transaction

ER_DROP_DB_WITH_READ_LOCK

DROP DATABASE not allowed while thread is holding global read lock

ER_CREATE_DB_WITH_READ_LOCK

CREATE DATABASE not allowed while thread is holding global read lock

ER_WRONG_ARGUMENTS

Incorrect arguments to %s

ER_NO_PERMISSION_TO_CREATE_USER

'%s'@'%s' is not allowed to create new users

ER_UNION_TABLES_IN_DIFFERENT_DIR

Incorrect table definition; all MERGE tables must be in the same database

ER_LOCK_DEADLOCK

Deadlock found when trying to get lock; try restarting transaction

ER_TABLE_CANT_HANDLE_FT

The used table type doesn't support FULLTEXT indexes

ER_CANNOT_ADD_FOREIGN

Cannot add foreign key constraint

ER_NO_REFERENCED_ROW

Cannot add or update a child row: a foreign key constraint fails

ER_ROW_IS_REFERENCED

Cannot delete or update a parent row: a foreign key constraint fails

ER_CONNECT_TO_MASTER

Error connecting to master: %s

ER_QUERY_ON_MASTER

Error running query on master: %s

ER_ERROR_WHEN_EXECUTING_COMMAND

Error when executing command %s: %s

ER_WRONG_USAGE

Incorrect usage of %s and %s

ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT

The used SELECT statements have a different number of columns

ER_CANT_UPDATE_WITH_READLOCK

Can't execute the query because you have a conflicting read lock

ER_MIXING_NOT_ALLOWED

Mixing of transactional and non-transactional tables is disabled

ER_DUP_ARGUMENT

Option '%s' used twice in statement

ER_USER_LIMIT_REACHED

User '%s' has exceeded the '%s' resource (current value: %ld)

ER_SPECIFIC_ACCESS_DENIED_ERROR

Access denied; you need (at least one of) the %s privilege(s) for this operation

ER_LOCAL_VARIABLE

Variable '%s' is a SESSION variable and can't be used with SET GLOBAL

ER_GLOBAL_VARIABLE

Variable '%s' is a GLOBAL variable and should be set with SET GLOBAL

ER_NO_DEFAULT

Variable '%s' doesn't have a default value

ER_WRONG_VALUE_FOR_VAR

Variable '%s' can't be set to the value of '%s'

ER_WRONG_TYPE_FOR_VAR

Incorrect argument type to variable '%s'

ER_VAR_CANT_BE_READ

Variable '%s' can only be set, not read

ER_CANT_USE_OPTION_HERE

Incorrect usage/placement of '%s'

ER_NOT_SUPPORTED_YET

This version of MariaDB doesn't yet support '%s'

ER_MASTER_FATAL_ERROR_READING_BINLOG

Got fatal error %d from master when reading data from binary log: '%s'

ER_SLAVE_IGNORED_TABLE

Slave SQL thread ignored the query because of replicate-*-table rules

ER_INCORRECT_GLOBAL_LOCAL_VAR

Variable '%s' is a %s variable

ER_WRONG_FK_DEF

Incorrect foreign key definition for '%s': %s

ER_KEY_REF_DO_NOT_MATCH_TABLE_REF

Key reference and table reference don't match

ER_OPERAND_COLUMNS

Operand should contain %d column(s)

ER_SUBQUERY_NO_1_ROW

Subquery returns more than 1 row

ER_UNKNOWN_STMT_HANDLER

Unknown prepared statement handler (%.*s) given to %s

ER_CORRUPT_HELP_DB

Help database is corrupt or does not exist

ER_CYCLIC_REFERENCE

Cyclic reference on subqueries

ER_AUTO_CONVERT

Converting column '%s' from %s to %s

ER_ILLEGAL_REFERENCE

Reference '%s' not supported (%s)

ER_DERIVED_MUST_HAVE_ALIAS

Every derived table must have its own alias

ER_SELECT_REDUCED

Select %u was reduced during optimization

ER_TABLENAME_NOT_ALLOWED_HERE

Table '%s' from one of the SELECTs cannot be used in %s

ER_NOT_SUPPORTED_AUTH_MODE

Client does not support authentication protocol requested by server; consider upgrading MariaDB client

ER_SPATIAL_CANT_HAVE_NULL

All parts of a SPATIAL index must be NOT NULL

ER_COLLATION_CHARSET_MISMATCH

COLLATION '%s' is not valid for CHARACTER SET '%s'

ER_SLAVE_WAS_RUNNING

Slave is already running

ER_SLAVE_WAS_NOT_RUNNING

Slave already has been stopped

ER_TOO_BIG_FOR_UNCOMPRESS

Uncompressed data size too large; the maximum size is %d (probably, length of uncompressed data was corrupted)

ER_ZLIB_Z_MEM_ERROR

ZLIB: Not enough memory

ER_ZLIB_Z_BUF_ERROR

ZLIB: Not enough room in the output buffer (probably, length of uncompressed data was corrupted)

ER_ZLIB_Z_DATA_ERROR

ZLIB: Input data corrupted

ER_CUT_VALUE_GROUP_CONCAT

Row %u was cut by GROUP_CONCAT()

ER_WARN_TOO_FEW_RECORDS

Row %ld doesn't contain data for all columns

ER_WARN_TOO_MANY_RECORDS

Row %ld was truncated; it contained more data than there were input columns

ER_WARN_NULL_TO_NOTNULL

Column set to default value; NULL supplied to NOT NULL column '%s' at row %ld

ER_WARN_DATA_OUT_OF_RANGE

Out of range value for column '%s' at row %ld

WARN_DATA_TRUNCATED

Data truncated for column '%s' at row %ld

ER_WARN_USING_OTHER_HANDLER

Using storage engine %s for table '%s'

ER_CANT_AGGREGATE_2COLLATIONS

Illegal mix of collations (%s,%s) and (%s,%s) for operation '%s'

ER_DROP_USER

Cannot drop one or more of the requested users

ER_REVOKE_GRANTS

Can't revoke all privileges for one or more of the requested users

ER_CANT_AGGREGATE_3COLLATIONS

Illegal mix of collations (%s,%s), (%s,%s), (%s,%s) for operation '%s'

ER_CANT_AGGREGATE_NCOLLATIONS

Illegal mix of collations for operation '%s'

ER_VARIABLE_IS_NOT_STRUCT

Variable '%s' is not a variable component (can't be used as XXXX.variable_name)

ER_UNKNOWN_COLLATION

Unknown collation: '%s'

ER_SLAVE_IGNORED_SSL_PARAMS

SSL parameters in CHANGE MASTER are ignored because this MariaDB slave was compiled without SSL support; they can be used later if MariaDB slave with SSL is started

ER_SERVER_IS_IN_SECURE_AUTH_MODE

Server is running in --secure-auth mode, but '%s'@'%s' has a password in the old format; please change the password to the new format

ER_WARN_FIELD_RESOLVED

Field or reference '%s%s%s%s%s' of SELECT #%d was resolved in SELECT #%d

ER_BAD_SLAVE_UNTIL_COND

Incorrect parameter or combination of parameters for START SLAVE UNTIL

ER_MISSING_SKIP_SLAVE

It is recommended to use --skip-slave-start when doing step-by-step replication with START SLAVE UNTIL; otherwise, you will get problems if you get an unexpected slave's mysqld restart

ER_UNTIL_COND_IGNORED

SQL thread is not to be started so UNTIL options are ignored

ER_WRONG_NAME_FOR_INDEX

Incorrect index name '%s'

ER_WRONG_NAME_FOR_CATALOG

Incorrect catalog name '%s'

ER_WARN_QC_RESIZE

Query cache failed to set size %lu; new query cache size is %lu

ER_BAD_FT_COLUMN

Column '%s' cannot be part of FULLTEXT index

ER_UNKNOWN_KEY_CACHE

Unknown key cache '%s'

ER_WARN_HOSTNAME_WONT_WORK

MariaDB is started in --skip-name-resolve mode; you must restart it without this switch for this grant to work

ER_UNKNOWN_STORAGE_ENGINE

Unknown storage engine '%s'

ER_WARN_DEPRECATED_SYNTAX

'%s' is deprecated and will be removed in a future release. Please use %s instead

ER_NON_UPDATABLE_TABLE

The target table %s of the %s is not updatable

ER_FEATURE_DISABLED

The '%s' feature is disabled; you need MariaDB built with '%s' to have it working

ER_OPTION_PREVENTS_STATEMENT

The MariaDB server is running with the %s option so it cannot execute this statement

ER_DUPLICATED_VALUE_IN_TYPE

Column '%s' has duplicated value '%s' in %s

ER_TRUNCATED_WRONG_VALUE

Truncated incorrect %s value: '%s'

ER_TOO_MUCH_AUTO_TIMESTAMP_COLS

Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause

ER_INVALID_ON_UPDATE

Invalid ON UPDATE clause for '%s' column

ER_UNSUPPORTED_PS

This command is not supported in the prepared statement protocol yet

ER_GET_ERRMSG

Got error %d '%s' from %s

ER_GET_TEMPORARY_ERRMSG

Got temporary error %d '%s' from %s

ER_UNKNOWN_TIME_ZONE

Unknown or incorrect time zone: '%s'

ER_WARN_INVALID_TIMESTAMP

Invalid TIMESTAMP value in column '%s' at row %ld

ER_INVALID_CHARACTER_STRING

Invalid %s character string: '%s'

ER_WARN_ALLOWED_PACKET_OVERFLOWED

Result of %s() was larger than max_allowed_packet (%ld) - truncated

ER_CONFLICTING_DECLARATIONS

Conflicting declarations: '%s%s' and '%s%s'

ER_SP_NO_RECURSIVE_CREATE

Can't create a %s from within another stored routine

ER_SP_ALREADY_EXISTS

%s %s already exists

ER_SP_DOES_NOT_EXIST

%s %s does not exist

ER_SP_DROP_FAILED

Failed to DROP %s %s

ER_SP_STORE_FAILED

Failed to CREATE %s %s

ER_SP_LILABEL_MISMATCH

%s with no matching label: %s

ER_SP_LABEL_REDEFINE

Redefining label %s

ER_SP_LABEL_MISMATCH

End-label %s without match

ER_SP_UNINIT_VAR

Referring to uninitialized variable %s

ER_SP_BADSELECT

PROCEDURE %s can't return a result set in the given context

ER_SP_BADRETURN

RETURN is only allowed in a FUNCTION

ER_SP_BADSTATEMENT

%s is not allowed in stored procedures

ER_UPDATE_LOG_DEPRECATED_IGNORED

The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been ignored. This option will be removed in MariaDB 5.6.

ER_UPDATE_LOG_DEPRECATED_TRANSLATED

The update log is deprecated and replaced by the binary log; SET SQL_LOG_UPDATE has been translated to SET SQL_LOG_BIN. This option will be removed in MariaDB 5.6.

ER_QUERY_INTERRUPTED

Query execution was interrupted

ER_SP_WRONG_NO_OF_ARGS

Incorrect number of arguments for %s %s; expected %u, got %u

ER_SP_COND_MISMATCH

Undefined CONDITION: %s

ER_SP_NORETURN

No RETURN found in FUNCTION %s

ER_SP_NORETURNEND

FUNCTION %s ended without RETURN

ER_SP_BAD_CURSOR_QUERY

Cursor statement must be a SELECT

ER_SP_BAD_CURSOR_SELECT

Cursor SELECT must not have INTO

ER_SP_CURSOR_MISMATCH

Undefined CURSOR: %s

ER_SP_CURSOR_ALREADY_OPEN

Cursor is already open

ER_SP_CURSOR_NOT_OPEN

Cursor is not open

ER_SP_UNDECLARED_VAR

Undeclared variable: %s

ER_SP_WRONG_NO_OF_FETCH_ARGS

Incorrect number of FETCH variables

ER_SP_FETCH_NO_DATA

No data - zero rows fetched, selected, or processed

ER_SP_DUP_PARAM

Duplicate parameter: %s

ER_SP_DUP_VAR

Duplicate variable: %s

ER_SP_DUP_COND

Duplicate condition: %s

ER_SP_DUP_CURS

Duplicate cursor: %s

ER_SP_CANT_ALTER

Failed to ALTER %s %s

ER_SP_SUBSELECT_NYI

Subquery value not supported

ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG

%s is not allowed in stored function or trigger

ER_SP_VARCOND_AFTER_CURSHNDLR

Variable or condition declaration after cursor or handler declaration

ER_SP_CURSOR_AFTER_HANDLER

Cursor declaration after handler declaration

ER_SP_CASE_NOT_FOUND

Case not found for CASE statement

ER_FPARSER_TOO_BIG_FILE

Configuration file '%s' is too big

ER_FPARSER_BAD_HEADER

Malformed file type header in file '%s'

ER_FPARSER_EOF_IN_COMMENT

Unexpected end of file while parsing comment '%s'

ER_FPARSER_ERROR_IN_PARAMETER

Error while parsing parameter '%s' (line: '%s')

ER_FPARSER_EOF_IN_UNKNOWN_PARAMETER

Unexpected end of file while skipping unknown parameter '%s'

ER_VIEW_NO_EXPLAIN

EXPLAIN/SHOW can not be issued; lacking privileges for underlying table

ER_FRM_UNKNOWN_TYPE

File '%s' has unknown type '%s' in its header

ER_WRONG_OBJECT

'%s.%s' is not %s

ER_NONUPDATEABLE_COLUMN

Column '%s' is not updatable

ER_VIEW_SELECT_DERIVED

View's SELECT contains a subquery in the FROM clause

ER_VIEW_SELECT_CLAUSE

View's SELECT contains a '%s' clause

ER_VIEW_SELECT_VARIABLE

View's SELECT contains a variable or parameter

ER_VIEW_SELECT_TMPTABLE

View's SELECT refers to a temporary table '%s'

ER_VIEW_WRONG_LIST

View's SELECT and view's field list have different column counts

ER_WARN_VIEW_MERGE

View merge algorithm can't be used here for now (assumed undefined algorithm)

ER_WARN_VIEW_WITHOUT_KEY

View being updated does not have complete key of underlying table in it

ER_VIEW_INVALID

View '%s.%s' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

ER_SP_NO_DROP_SP

Can't drop or alter a %s from within another stored routine

ER_SP_GOTO_IN_HNDLR

GOTO is not allowed in a stored procedure handler

ER_TRG_ALREADY_EXISTS

Trigger already exists

ER_TRG_DOES_NOT_EXIST

Trigger does not exist

ER_TRG_ON_VIEW_OR_TEMP_TABLE

Trigger's '%s' is view or temporary table

ER_TRG_CANT_CHANGE_ROW

Updating of %s row is not allowed in %strigger

ER_TRG_NO_SUCH_ROW_IN_TRG

There is no %s row in %s trigger

ER_NO_DEFAULT_FOR_FIELD

Field '%s' doesn't have a default value

ER_DIVISION_BY_ZER

Division by 0

ER_TRUNCATED_WRONG_VALUE_FOR_FIELD

Incorrect %s value: '%s' for column '%s' at row %ld

ER_ILLEGAL_VALUE_FOR_TYPE

Illegal %s '%s' value found during parsing

ER_VIEW_NONUPD_CHECK

CHECK OPTION on non-updatable view '%s.%s'

ER_VIEW_CHECK_FAILED

CHECK OPTION failed '%s.%s'

ER_PROCACCESS_DENIED_ERROR

%s command denied to user '%s'@'%s' for routine '%s'

ER_RELAY_LOG_FAIL

Failed purging old relay logs: %s

ER_PASSWD_LENGTH

Password hash should be a %d-digit hexadecimal number

ER_UNKNOWN_TARGET_BINLOG

Target log not found in binlog index

ER_IO_ERR_LOG_INDEX_READ

I/O error reading log index file

ER_BINLOG_PURGE_PROHIBITED

Server configuration does not permit binlog purge

ER_FSEEK_FAIL

Failed on fseek()

ER_BINLOG_PURGE_FATAL_ERR

Fatal error during log purge

ER_LOG_IN_USE

A purgeable log is in use, will not purge

ER_LOG_PURGE_UNKNOWN_ERR

Unknown error during log purge

ER_RELAY_LOG_INIT

Failed initializing relay log position: %s

ER_NO_BINARY_LOGGING

You are not using binary logging

ER_RESERVED_SYNTAX

The '%s' syntax is reserved for purposes internal to the MariaDB server

ER_WSAS_FAILED

WSAStartup Failed

ER_DIFF_GROUPS_PROC

Can't handle procedures with different groups yet

ER_NO_GROUP_FOR_PROC

Select must have a group with this procedure

ER_ORDER_WITH_PROC

Can't use ORDER clause with this procedure

ER_LOGGING_PROHIBIT_CHANGING_OF

Binary logging and replication forbid changing the global server %s

ER_NO_FILE_MAPPING

Can't map file: %s, errno: %d

ER_WRONG_MAGIC

Wrong magic in %s

ER_PS_MANY_PARAM

Prepared statement contains too many placeholders

ER_KEY_PART_0

Key part '%s' length cannot be 0

ER_VIEW_CHECKSUM

View text checksum failed

ER_VIEW_MULTIUPDATE

Can not modify more than one base table through a join view '%s.%s'

ER_VIEW_NO_INSERT_FIELD_LIST

Can not insert into join view '%s.%s' without fields list

ER_VIEW_DELETE_MERGE_VIEW

Can not delete from join view '%s.%s'

ER_CANNOT_USER

Operation %s failed for %s

ER_XAER_NOTA

XAER_NOTA: Unknown XID

ER_XAER_INVAL

XAER_INVAL: Invalid arguments (or unsupported command)

ER_XAER_RMFAIL

XAER_RMFAIL: The command cannot be executed when global transaction is in the %s state

ER_XAER_OUTSIDE

XAER_OUTSIDE: Some work is done outside global transaction

ER_XAER_RMERR

XAER_RMERR: Fatal error occurred in the transaction branch - check your data for consistency

ER_XA_RBROLLBACK

XA_RBROLLBACK: Transaction branch was rolled back

ER_NONEXISTING_PROC_GRANT

There is no such grant defined for user '%s' on host '%s' on routine '%s'

ER_PROC_AUTO_GRANT_FAIL

Failed to grant EXECUTE and ALTER ROUTINE privileges

ER_PROC_AUTO_REVOKE_FAIL

Failed to revoke all privileges to dropped routine

ER_DATA_TOO_LONG

Data too long for column '%s' at row %ld

ER_SP_BAD_SQLSTATE

Bad SQLSTATE: '%s'

ER_STARTUP

%s: ready for connections. Version: '%s' socket: '%s' port: %d %s

ER_LOAD_FROM_FIXED_SIZE_ROWS_TO_VAR

Can't load value from file with fixed size rows to variable

ER_CANT_CREATE_USER_WITH_GRANT

You are not allowed to create a user with GRANT

ER_WRONG_VALUE_FOR_TYPE

Incorrect %s value: '%s' for function %s

ER_TABLE_DEF_CHANGED

Table definition has changed, please retry transaction

ER_SP_DUP_HANDLER

Duplicate handler declared in the same block

ER_SP_NOT_VAR_ARG

OUT or INOUT argument %d for routine %s is not a variable or NEW pseudo-variable in BEFORE trigger

ER_SP_NO_RETSET

Not allowed to return a result set from a %s

ER_CANT_CREATE_GEOMETRY_OBJECT

Cannot get geometry object from data you send to the GEOMETRY field

ER_FAILED_ROUTINE_BREAK_BINLOG

A routine failed and has neither NO SQL nor READS SQL DATA in its declaration and binary logging is enabled; if non-transactional tables were updated, the binary log will miss their changes

ER_BINLOG_UNSAFE_ROUTINE

This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)

ER_BINLOG_CREATE_ROUTINE_NEED_SUPER

You do not have the SUPER privilege and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)

ER_EXEC_STMT_WITH_OPEN_CURSOR

You can't execute a prepared statement which has an open cursor associated with it. Reset the statement to re-execute it.

ER_STMT_HAS_NO_OPEN_CURSOR

The statement (%lu) has no open cursor.

ER_COMMIT_NOT_ALLOWED_IN_SF_OR_TRG

Explicit or implicit commit is not allowed in stored function or trigger.

ER_NO_DEFAULT_FOR_VIEW_FIELD

Field of view '%s.%s' underlying table doesn't have a default value

ER_SP_NO_RECURSION

Recursive stored functions and triggers are not allowed.

ER_TOO_BIG_SCALE

Too big scale %d specified for column '%s'. Maximum is %lu.

ER_TOO_BIG_PRECISION

Too big precision %d specified for column '%s'. Maximum is %lu.

ER_M_BIGGER_THAN_D

For float(M,D, double(M,D or decimal(M,D, M must be >= D (column '%s').

ER_WRONG_LOCK_OF_SYSTEM_TABLE

You can't combine write-locking of system tables with other tables or lock types

ER_CONNECT_TO_FOREIGN_DATA_SOURCE

Unable to connect to foreign data source: %s

ER_QUERY_ON_FOREIGN_DATA_SOURCE

There was a problem processing the query on the foreign data source. Data source error: %s

ER_FOREIGN_DATA_SOURCE_DOESNT_EXIST

The foreign data source you are trying to reference does not exist. Data source error: %s

ER_FOREIGN_DATA_STRING_INVALID_CANT_CREATE

Can't create federated table. The data source connection string '%s' is not in the correct format

ER_FOREIGN_DATA_STRING_INVALID

The data source connection string '%s' is not in the correct format

ER_CANT_CREATE_FEDERATED_TABLE

Can't create federated table. Foreign data src error: %s

ER_TRG_IN_WRONG_SCHEMA

Trigger in wrong schema

ER_STACK_OVERRUN_NEED_MORE

Thread stack overrun: %ld bytes used of a %ld byte stack, and %ld bytes needed. Use 'mysqld --thread_stack=#' to specify a bigger stack.

ER_TOO_LONG_BODY

Routine body for '%s' is too long

ER_WARN_CANT_DROP_DEFAULT_KEYCACHE

Cannot drop default keycache

ER_TOO_BIG_DISPLAYWIDTH

Display width out of range for column '%s' (max = %lu)

ER_XAER_DUPID

XAER_DUPID: The XID already exists

ER_DATETIME_FUNCTION_OVERFLOW

Datetime function: %s field overflow

ER_CANT_UPDATE_USED_TABLE_IN_SF_OR_TRG

Can't update table '%s' in stored function/trigger because it is already used by statement which invoked this stored function/trigger.

ER_VIEW_PREVENT_UPDATE

The definition of table '%s' prevents operation %s on table '%s'.

ER_PS_NO_RECURSION

The prepared statement contains a stored routine call that refers to that same statement. It's not allowed to execute a prepared statement in such a recursive manner

ER_SP_CANT_SET_AUTOCOMMIT

Not allowed to set autocommit from a stored function or trigger

ER_MALFORMED_DEFINER

Definer is not fully qualified

ER_VIEW_FRM_NO_USER

View '%s'.'%s' has no definer information (old table format). Current user is used as definer. Please recreate the view!

ER_VIEW_OTHER_USER

You need the SUPER privilege for creation view with '%s'@'%s' definer

ER_NO_SUCH_USER

The user specified as a definer ('%s'@'%s') does not exist

ER_FORBID_SCHEMA_CHANGE

Changing schema from '%s' to '%s' is not allowed.

ER_ROW_IS_REFERENCED_2

Cannot delete or update a parent row: a foreign key constraint fails (%s)

ER_NO_REFERENCED_ROW_2

Cannot add or update a child row: a foreign key constraint fails (%s)

ER_SP_BAD_VAR_SHADOW

Variable '%s' must be quoted with ..., or renamed

ER_TRG_NO_DEFINER

No definer attribute for trigger '%s'.'%s'. The trigger will be activated under the authorization of the invoker, which may have insufficient privileges. Please recreate the trigger.

ER_OLD_FILE_FORMAT

'%s' has an old format, you should re-create the '%s' object(s)

ER_SP_RECURSION_LIMIT

Recursive limit %d (as set by the max_sp_recursion_depth variable) was exceeded for routine %s

ER_SP_PROC_TABLE_CORRUPT

Failed to load routine %s. The table mysql.proc is missing, corrupt, or contains bad data (internal code %d)

ER_SP_WRONG_NAME

Incorrect routine name '%s'

ER_TABLE_NEEDS_UPGRADE

Table upgrade required. Please do "REPAIR TABLE %s" or dump/reload to fix it!

ER_SP_NO_AGGREGATE

AGGREGATE is not supported for stored functions

ER_MAX_PREPARED_STMT_COUNT_REACHED

Can't create more than max_prepared_stmt_count statements (current value: %lu)

ER_VIEW_RECURSIVE

%s.%s contains view recursion

ER_NON_GROUPING_FIELD_USED

Non-grouping field '%s' is used in %s clause

ER_TABLE_CANT_HANDLE_SPKEYS

The used table type doesn't support SPATIAL indexes

ER_NO_TRIGGERS_ON_SYSTEM_SCHEMA

Triggers can not be created on system tables

ER_REMOVED_SPACES

Leading spaces are removed from name '%s'

ER_AUTOINC_READ_FAILED

Failed to read auto-increment value from storage engine

ER_USERNAME

user name

ER_HOSTNAME

host name

ER_WRONG_STRING_LENGTH

String '%s' is too long for %s (should be no longer than %d)

ER_NON_INSERTABLE_TABLE

The target table %s of the %s is not insertable-into

ER_ADMIN_WRONG_MRG_TABLE

Table '%s' is differently defined or of non-MyISAM type or doesn't exist

ER_TOO_HIGH_LEVEL_OF_NESTING_FOR_SELECT

Too high level of nesting for select

ER_NAME_BECOMES_EMPTY

Name '%s' has become ''

ER_AMBIGUOUS_FIELD_TERM

First character of the FIELDS TERMINATED string is ambiguous; please use non-optional and non-empty FIELDS ENCLOSED BY

ER_FOREIGN_SERVER_EXISTS

The foreign server, %s, you are trying to create already exists.

ER_FOREIGN_SERVER_DOESNT_EXIST

The foreign server name you are trying to reference does not exist. Data source error: %s

ER_ILLEGAL_HA_CREATE_OPTION

Table storage engine '%s' does not support the create option '%s'

ER_PARTITION_REQUIRES_VALUES_ERROR

Syntax error: %s PARTITIONING requires definition of VALUES %s for each partition

ER_PARTITION_WRONG_VALUES_ERROR

Only %s PARTITIONING can use VALUES %s in partition definition

ER_PARTITION_MAXVALUE_ERROR

MAXVALUE can only be used in last partition definition

ER_PARTITION_SUBPARTITION_ERROR

Subpartitions can only be hash partitions and by key

ER_PARTITION_SUBPART_MIX_ERROR

Must define subpartitions on all partitions if on one partition

ER_PARTITION_WRONG_NO_PART_ERROR

Wrong number of partitions defined, mismatch with previous setting

ER_PARTITION_WRONG_NO_SUBPART_ERROR

Wrong number of subpartitions defined, mismatch with previous setting

ER_WRONG_EXPR_IN_PARTITION_FUNC_ERROR

Constant, random or timezone-dependent expressions in (sub)partitioning function are not allowed

ER_NO_CONST_EXPR_IN_RANGE_OR_LIST_ERROR

Expression in RANGE/LIST VALUES must be constant

ER_FIELD_NOT_FOUND_PART_ERROR

Field in list of fields for partition function not found in table

ER_LIST_OF_FIELDS_ONLY_IN_HASH_ERROR

List of fields is only allowed in KEY partitions

ER_INCONSISTENT_PARTITION_INFO_ERROR

The partition info in the frm file is not consistent with what can be written into the frm file

ER_PARTITION_FUNC_NOT_ALLOWED_ERROR

The %s function returns the wrong type

ER_PARTITIONS_MUST_BE_DEFINED_ERROR

For %s partitions each partition must be defined

ER_RANGE_NOT_INCREASING_ERROR

VALUES LESS THAN value must be strictly increasing for each partition

ER_INCONSISTENT_TYPE_OF_FUNCTIONS_ERROR

VALUES value must be of same type as partition function

ER_MULTIPLE_DEF_CONST_IN_LIST_PART_ERROR

Multiple definition of same constant in list partitioning

ER_PARTITION_ENTRY_ERROR

Partitioning can not be used stand-alone in query

ER_MIX_HANDLER_ERROR

The mix of handlers in the partitions is not allowed in this version of MariaDB

ER_PARTITION_NOT_DEFINED_ERROR

For the partitioned engine it is necessary to define all %s

ER_TOO_MANY_PARTITIONS_ERROR

Too many partitions (including subpartitions) were defined

ER_SUBPARTITION_ERROR

It is only possible to mix RANGE/LIST partitioning with HASH/KEY partitioning for subpartitioning

ER_CANT_CREATE_HANDLER_FILE

Failed to create specific handler file

ER_BLOB_FIELD_IN_PART_FUNC_ERROR

A BLOB field is not allowed in partition function

ER_UNIQUE_KEY_NEED_ALL_FIELDS_IN_PF

A %s must include all columns in the table's partitioning function

ER_NO_PARTS_ERROR

Number of %s = 0 is not an allowed value

ER_PARTITION_MGMT_ON_NONPARTITIONED

Partition management on a not partitioned table is not possible

ER_FOREIGN_KEY_ON_PARTITIONED

Foreign key clause is not yet supported in conjunction with partitioning

ER_DROP_PARTITION_NON_EXISTENT

Error in list of partitions to %s

ER_DROP_LAST_PARTITION

Cannot remove all partitions, use DROP TABLE instead

ER_COALESCE_ONLY_ON_HASH_PARTITION

COALESCE PARTITION can only be used on HASH/KEY partitions

ER_REORG_HASH_ONLY_ON_SAME_N

REORGANIZE PARTITION can only be used to reorganize partitions not to change their numbers

ER_REORG_NO_PARAM_ERROR

REORGANIZE PARTITION without parameters can only be used on auto-partitioned tables using HASH PARTITIONs

ER_ONLY_ON_RANGE_LIST_PARTITION

%s PARTITION can only be used on RANGE/LIST partitions

ER_ADD_PARTITION_SUBPART_ERROR

Trying to Add partition(s) with wrong number of subpartitions

ER_ADD_PARTITION_NO_NEW_PARTITION

At least one partition must be added

ER_COALESCE_PARTITION_NO_PARTITION

At least one partition must be coalesced

ER_REORG_PARTITION_NOT_EXIST

More partitions to reorganize than there are partitions

ER_SAME_NAME_PARTITION

Duplicate partition name %s

ER_NO_BINLOG_ERROR

It is not allowed to shut off binlog on this command

ER_CONSECUTIVE_REORG_PARTITIONS

When reorganizing a set of partitions they must be in consecutive order

ER_REORG_OUTSIDE_RANGE

Reorganize of range partitions cannot change total ranges except for last partition where it can extend the range

ER_PARTITION_FUNCTION_FAILURE

Partition function not supported in this version for this handler

ER_PART_STATE_ERROR

Partition state cannot be defined from CREATE/ALTER TABLE

ER_LIMITED_PART_RANGE

The %s handler only supports 32 bit integers in VALUES

ER_PLUGIN_IS_NOT_LOADED

Plugin '%s' is not loaded

ER_WRONG_VALUE

Incorrect %s value: '%s'

ER_NO_PARTITION_FOR_GIVEN_VALUE

Table has no partition for value %s

ER_FILEGROUP_OPTION_ONLY_ONCE

It is not allowed to specify %s more than once

ER_CREATE_FILEGROUP_FAILED

Failed to create %s

ER_DROP_FILEGROUP_FAILED

Failed to drop %s

ER_TABLESPACE_AUTO_EXTEND_ERROR

The handler doesn't support autoextend of tablespaces

ER_WRONG_SIZE_NUMBER

A size parameter was incorrectly specified, either number or on the form 10M

ER_SIZE_OVERFLOW_ERROR

The size number was correct but we don't allow the digit part to be more than 2 billion

ER_ALTER_FILEGROUP_FAILED

Failed to alter: %s

ER_BINLOG_ROW_LOGGING_FAILED

Writing one row to the row-based binary log failed

ER_BINLOG_ROW_WRONG_TABLE_DEF

Table definition on master and slave does not match: %s

ER_BINLOG_ROW_RBR_TO_SBR

Slave running with --log-slave-updates must use row-based binary logging to be able to replicate row-based binary log events

ER_EVENT_ALREADY_EXISTS

Event '%s' already exists

ER_EVENT_STORE_FAILED

Failed to store event %s. Error code %d from storage engine.

ER_EVENT_DOES_NOT_EXIST

Unknown event '%s'

ER_EVENT_CANT_ALTER

Failed to alter event '%s'

ER_EVENT_DROP_FAILED

Failed to drop %s

ER_EVENT_INTERVAL_NOT_POSITIVE_OR_TOO_BIG

INTERVAL is either not positive or too big

ER_EVENT_ENDS_BEFORE_STARTS

ENDS is either invalid or before STARTS

ER_EVENT_EXEC_TIME_IN_THE_PAST

Event execution time is in the past. Event has been disabled

ER_EVENT_OPEN_TABLE_FAILED

Failed to open mysql.event

ER_EVENT_NEITHER_M_EXPR_NOR_M_AT

No datetime expression provided

ER_COL_COUNT_DOESNT_MATCH_CORRUPTED

Column count of mysql.%s is wrong. Expected %d, found %d. The table is probably corrupted

ER_CANNOT_LOAD_FROM_TABLE

Cannot load from mysql.%s. The table is probably corrupted

ER_EVENT_CANNOT_DELETE

Failed to delete the event from mysql.event

ER_EVENT_COMPILE_ERROR

Error during compilation of event's body

ER_EVENT_SAME_NAME

Same old and new event name

ER_EVENT_DATA_TOO_LONG

Data for column '%s' too long

ER_DROP_INDEX_FK

Cannot drop index '%s': needed in a foreign key constraint

ER_WARN_DEPRECATED_SYNTAX_WITH_VER

The syntax '%s' is deprecated and will be removed in MariaDB %s. Please use %s instead

ER_CANT_WRITE_LOCK_LOG_TABLE

You can't write-lock a log table. Only read access is possible

ER_CANT_LOCK_LOG_TABLE

You can't use locks with log tables.

ER_FOREIGN_DUPLICATE_KEY

Upholding foreign key constraints for table '%s', entry '%s', key %d would lead to a duplicate entry

ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE

Column count of mysql.%s is wrong. Expected %d, found %d. Created with MariaDB %d, now running %d. Please use mysql_upgrade to fix this error.

ER_TEMP_TABLE_PREVENTS_SWITCH_OUT_OF_RBR

Cannot switch out of the row-based binary log format when the session has open temporary tables

ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT

Cannot change the binary logging format inside a stored function or trigger

ER_NDB_CANT_SWITCH_BINLOG_FORMAT

The NDB cluster engine does not support changing the binlog format on the fly yet

ER_PARTITION_NO_TEMPORARY

Cannot create temporary table with partitions

ER_PARTITION_CONST_DOMAIN_ERROR

Partition constant is out of partition function domain

ER_PARTITION_FUNCTION_IS_NOT_ALLOWED

This partition function is not allowed

ER_DDL_LOG_ERROR

Error in DDL log

ER_NULL_IN_VALUES_LESS_THAN

Not allowed to use NULL value in VALUES LESS THAN

ER_WRONG_PARTITION_NAME

Incorrect partition name

ER_CANT_CHANGE_TX_ISOLATION

Transaction isolation level can't be changed while a transaction is in progress

ER_DUP_ENTRY_AUTOINCREMENT_CASE

ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry '%s' for key '%s'

ER_EVENT_MODIFY_QUEUE_ERROR

Internal scheduler error %d

ER_EVENT_SET_VAR_ERROR

Error during starting/stopping of the scheduler. Error code %u

ER_PARTITION_MERGE_ERROR

Engine cannot be used in partitioned tables

ER_CANT_ACTIVATE_LOG

Cannot activate '%s' log

ER_RBR_NOT_AVAILABLE

The server was not built with row-based replication

ER_BASE64_DECODE_ERROR

Decoding of base64 string failed

ER_EVENT_RECURSION_FORBIDDEN

Recursion of EVENT DDL statements is forbidden when body is present

ER_EVENTS_DB_ERROR

Cannot proceed because system tables used by Event Scheduler were found damaged at server start

ER_ONLY_INTEGERS_ALLOWED

Only integers allowed as number here

ER_UNSUPORTED_LOG_ENGINE

This storage engine cannot be used for log tables"

ER_BAD_LOG_STATEMENT

You cannot '%s' a log table if logging is enabled

ER_CANT_RENAME_LOG_TABLE

Cannot rename '%s'. When logging enabled, rename to/from log table must rename two tables: the log table to an archive table and another table back to '%s'

ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT

Incorrect parameter count in the call to native function '%s'

ER_WRONG_PARAMETERS_TO_NATIVE_FCT

Incorrect parameters in the call to native function '%s'

ER_WRONG_PARAMETERS_TO_STORED_FCT

Incorrect parameters in the call to stored function '%s'

ER_NATIVE_FCT_NAME_COLLISION

This function '%s' has the same name as a native function

ER_DUP_ENTRY_WITH_KEY_NAME

Duplicate entry '%s' for key '%s'

ER_BINLOG_PURGE_EMFILE

Too many files opened, please execute the command again

ER_EVENT_CANNOT_CREATE_IN_THE_PAST

Event execution time is in the past and ON COMPLETION NOT PRESERVE is set. The event was dropped immediately after creation.

ER_EVENT_CANNOT_ALTER_IN_THE_PAST

Event execution time is in the past and ON COMPLETION NOT PRESERVE is set. The event was dropped immediately after creation.

ER_SLAVE_INCIDENT

The incident %s occured on the master. Message: %s

ER_NO_PARTITION_FOR_GIVEN_VALUE_SILENT

Table has no partition for some existing values

ER_BINLOG_UNSAFE_STATEMENT

Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. %s

ER_SLAVE_FATAL_ERROR

Fatal error: %s

ER_SLAVE_RELAY_LOG_READ_FAILURE

Relay log read failure: %s

ER_SLAVE_RELAY_LOG_WRITE_FAILURE

Relay log write failure: %s

ER_SLAVE_CREATE_EVENT_FAILURE

Failed to create %s

ER_SLAVE_MASTER_COM_FAILURE

Master command %s failed: %s

ER_BINLOG_LOGGING_IMPOSSIBLE

Binary logging not possible. Message: %s

ER_VIEW_NO_CREATION_CTX

View %s.%s has no creation context

ER_VIEW_INVALID_CREATION_CTX

Creation context of view %s.`%s' is invalid

ER_SR_INVALID_CREATION_CTX

Creation context of stored routine %s.%s is invalid

ER_TRG_CORRUPTED_FILE

Corrupted TRG file for table %s.%s

ER_TRG_NO_CREATION_CTX

Triggers for table %s.%s have no creation context

ER_TRG_INVALID_CREATION_CTX

Trigger creation context of table %s.%s is invalid

ER_EVENT_INVALID_CREATION_CTX

Creation context of event %s.%s is invalid

ER_TRG_CANT_OPEN_TABLE

Cannot open table for trigger %s.%s

ER_CANT_CREATE_SROUTINE

Cannot create stored routine %s. Check warnings

ER_UNUSED_11

You should never see it

ER_NO_FORMAT_DESCRIPTION_EVENT_BEFORE_BINLOG_STATEMENT

The BINLOG statement of type %s was not preceded by a format description BINLOG statement.

ER_SLAVE_CORRUPT_EVENT

Corrupted replication event was detected

ER_LOAD_DATA_INVALID_COLUMN

Invalid column reference (%s) in LOAD DATA

ER_LOG_PURGE_NO_FILE

Being purged log %s was not found

ER_XA_RBTIMEOUT

XA_RBTIMEOUT: Transaction branch was rolled back: took too long

ER_XA_RBDEADLOCK

XA_RBDEADLOCK: Transaction branch was rolled back: deadlock was detected

ER_NEED_REPREPARE

Prepared statement needs to be re-prepared

ER_DELAYED_NOT_SUPPORTED

DELAYED option not supported for table '%s'

WARN_NO_MASTER_INF

The master info structure does not exist

WARN_OPTION_IGNORED

<%s> option ignored

WARN_PLUGIN_DELETE_BUILTIN

Built-in plugins cannot be deleted

WARN_PLUGIN_BUSY

Plugin is busy and will be uninstalled on shutdown

ER_VARIABLE_IS_READONLY

%s variable '%s' is read-only. Use SET %s to assign the value

ER_WARN_ENGINE_TRANSACTION_ROLLBACK

Storage engine %s does not support rollback for this statement. Transaction rolled back and must be restarted

ER_SLAVE_HEARTBEAT_FAILURE

Unexpected master's heartbeat data: %s

ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE

The requested value for the heartbeat period is either negative or exceeds the maximum allowed (%s seconds).

ER_NDB_REPLICATION_SCHEMA_ERROR

Bad schema for mysql.ndb_replication table. Message: %s

ER_CONFLICT_FN_PARSE_ERROR

Error in parsing conflict function. Message: %s

ER_EXCEPTIONS_WRITE_ERROR

Write to exceptions table failed. Message: %s"

ER_TOO_LONG_TABLE_COMMENT

Comment for table '%s' is too long (max = %lu)

ER_TOO_LONG_FIELD_COMMENT

Comment for field '%s' is too long (max = %lu)

ER_FUNC_INEXISTENT_NAME_COLLISION

FUNCTION %s does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual

ER_DATABASE_NAME

Database

ER_TABLE_NAME

Table

ER_PARTITION_NAME

Partition

ER_SUBPARTITION_NAME

Subpartition

ER_TEMPORARY_NAME

Temporary

ER_RENAMED_NAME

Renamed

ER_TOO_MANY_CONCURRENT_TRXS

Too many active concurrent transactions

WARN_NON_ASCII_SEPARATOR_NOT_IMPLEMENTED

Non-ASCII separator arguments are not fully supported

ER_DEBUG_SYNC_TIMEOUT

debug sync point wait timed out

ER_DEBUG_SYNC_HIT_LIMIT

debug sync point hit limit reached

ER_DUP_SIGNAL_SET

Duplicate condition information item '%s'

ER_SIGNAL_WARN

Unhandled user-defined warning condition

ER_SIGNAL_NOT_FOUND

Unhandled user-defined not found condition

ER_SIGNAL_EXCEPTION

Unhandled user-defined exception condition

ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER

RESIGNAL when handler not active

ER_SIGNAL_BAD_CONDITION_TYPE

SIGNAL/RESIGNAL can only use a CONDITION defined with SQLSTATE

WARN_COND_ITEM_TRUNCATED

Data truncated for condition item '%s'

ER_COND_ITEM_TOO_LONG

Data too long for condition item '%s'

ER_UNKNOWN_LOCALE

Unknown locale: '%s'

ER_SLAVE_IGNORE_SERVER_IDS

The requested server id %d clashes with the slave startup option --replicate-same-server-id

ER_QUERY_CACHE_DISABLED

Query cache is disabled; restart the server with query_cache_type=1 to enable it

ER_SAME_NAME_PARTITION_FIELD

Duplicate partition field name '%s'

ER_PARTITION_COLUMN_LIST_ERROR

Inconsistency in usage of column lists for partitioning

ER_WRONG_TYPE_COLUMN_VALUE_ERROR

Partition column values of incorrect type

ER_TOO_MANY_PARTITION_FUNC_FIELDS_ERROR

Too many fields in '%s'

ER_MAXVALUE_IN_VALUES_IN

Cannot use MAXVALUE as value in VALUES IN

ER_TOO_MANY_VALUES_ERROR

Cannot have more than one value for this type of %s partitioning

ER_ROW_SINGLE_PARTITION_FIELD_ERROR

Row expressions in VALUES IN only allowed for multi-field column partitioning

ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD

Field '%s' is of a not allowed type for this type of partitioning

ER_PARTITION_FIELDS_TOO_LONG

The total length of the partitioning fields is too large

ER_BINLOG_ROW_ENGINE_AND_STMT_ENGINE

Cannot execute statement: impossible to write to binary log since both row-incapable engines and statement-incapable engines are involved.

ER_BINLOG_ROW_MODE_AND_STMT_ENGINE

Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = ROW and at least one table uses a storage engine limited to statement-based logging.

ER_BINLOG_UNSAFE_AND_STMT_ENGINE

Cannot execute statement: impossible to write to binary log since statement is unsafe, storage engine is limited to statement-based logging, and BINLOG_FORMAT = MIXED. %s

ER_BINLOG_ROW_INJECTION_AND_STMT_ENGINE

Cannot execute statement: impossible to write to binary log since statement is in row format and at least one table uses a storage engine limited to statement-based logging.

ER_BINLOG_STMT_MODE_AND_ROW_ENGINE

Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT and at least one table uses a storage engine limited to row-based logging.%s

ER_BINLOG_ROW_INJECTION_AND_STMT_MODE

Cannot execute statement: impossible to write to binary log since statement is in row format and BINLOG_FORMAT = STATEMENT.

ER_BINLOG_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE

Cannot execute statement: impossible to write to binary log since more than one engine is involved and at least one engine is self-logging.

ER_BINLOG_UNSAFE_LIMIT

The statement is unsafe because it uses a LIMIT clause. This is unsafe because the set of rows included cannot be predicted.

ER_BINLOG_UNSAFE_INSERT_DELAYED

The statement is unsafe because it uses INSERT DELAYED. This is unsafe because the times when rows are inserted cannot be predicted.

ER_BINLOG_UNSAFE_SYSTEM_TABLE

The statement is unsafe because it uses the general log, slow query log, or performance_schema table(s). This is unsafe because system tables may differ on slaves.

ER_BINLOG_UNSAFE_AUTOINC_COLUMNS

Statement is unsafe because it invokes a trigger or a stored function that inserts into an AUTO_INCREMENT column. Inserted values cannot be logged correctly.

ER_BINLOG_UNSAFE_UDF

Statement is unsafe because it uses a UDF which may not return the same value on the slave.

ER_BINLOG_UNSAFE_SYSTEM_VARIABLE

Statement is unsafe because it uses a system variable that may have a different value on the slave.

ER_BINLOG_UNSAFE_SYSTEM_FUNCTION

Statement is unsafe because it uses a system function that may return a different value on the slave.

ER_BINLOG_UNSAFE_NONTRANS_AFTER_TRANS

Statement is unsafe because it accesses a non-transactional table after accessing a transactional table within the same transaction.

ER_MESSAGE_AND_STATEMENT

%s Statement: %s

ER_SLAVE_CONVERSION_FAILED

Column %d of table '%s.%s' cannot be converted from type '%s' to type '%s'

ER_SLAVE_CANT_CREATE_CONVERSION

Can't create conversion table for table '%s.%s'

ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_FORMAT

Cannot modify @@session.binlog_format inside a transaction

ER_PATH_LENGTH

The path specified for %s is too long.

ER_WARN_DEPRECATED_SYNTAX_NO_REPLACEMENT

'%s' is deprecated and will be removed in a future release.

ER_WRONG_NATIVE_TABLE_STRUCTURE

Native table '%s'.'%s' has the wrong structure

ER_WRONG_PERFSCHEMA_USAGE

Invalid performance_schema usage.

ER_WARN_I_S_SKIPPED_TABLE

Table '%s'.'%s' was skipped since its definition is being modified by concurrent DDL statement

ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_BINLOG_DIRECT

Cannot modify @@session.binlog_direct_non_transactional_updates inside a transaction

ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_DIRECT

Cannot change the binlog direct flag inside a stored function or trigger

ER_SPATIAL_MUST_HAVE_GEOM_COL

A SPATIAL index may only contain a geometrical type column

ER_TOO_LONG_INDEX_COMMENT

Comment for index '%s' is too long (max = %lu)

ER_LOCK_ABORTED

Wait on a lock was aborted due to a pending exclusive lock

ER_DATA_OUT_OF_RANGE

%s value is out of range in '%s'

ER_WRONG_SPVAR_TYPE_IN_LIMIT

A variable of a non-integer based type in LIMIT clause

ER_BINLOG_UNSAFE_MULTIPLE_ENGINES_AND_SELF_LOGGING_ENGINE

Mixing self-logging and non-self-logging engines in a statement is unsafe.

ER_BINLOG_UNSAFE_MIXED_STATEMENT

Statement accesses nontransactional table as well as transactional or temporary table, and writes to any of them.

ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_SQL_LOG_BIN

Cannot modify @@session.sql_log_bin inside a transaction

ER_STORED_FUNCTION_PREVENTS_SWITCH_SQL_LOG_BIN

Cannot change the sql_log_bin inside a stored function or trigger

ER_FAILED_READ_FROM_PAR_FILE

Failed to read from the .par file

ER_VALUES_IS_NOT_INT_TYPE_ERROR

VALUES value for partition '%s' must have type INT

ER_ACCESS_DENIED_NO_PASSWORD_ERROR

Access denied for user '%s'@'%s'

ER_SET_PASSWORD_AUTH_PLUGIN

SET PASSWORD has no significance for users authenticating via plugins

ER_GRANT_PLUGIN_USER_EXISTS

GRANT with IDENTIFIED WITH is illegal because the user %-.*s already exists

ER_TRUNCATE_ILLEGAL_FK

Cannot truncate a table referenced in a foreign key constraint (%s)

ER_PLUGIN_IS_PERMANENT

Plugin '%s' is force_plus_permanent and can not be unloaded

ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MIN

The requested value for the heartbeat period is less than 1 millisecond. The value is reset to 0, meaning that heartbeating will effectively be disabled.

ER_SLAVE_HEARTBEAT_VALUE_OUT_OF_RANGE_MAX

The requested value for the heartbeat period exceeds the value of slave_net_timeout seconds. A sensible value for the period should be less than the timeout.

ER_STMT_CACHE_FULL

Multi-row statements required more than 'max_binlog_stmt_cache_size' bytes of storage; increase this mysqld variable and try again

ER_MULTI_UPDATE_KEY_CONFLICT

Primary key/partition key update is not allowed since the table is updated both as '%s' and '%s'.

ER_TABLE_NEEDS_REBUILD

Table rebuild required. Please do "ALTER TABLE %s FORCE" or dump/reload to fix it!

WARN_OPTION_BELOW_LIMIT

The value of '%s' should be no less than the value of '%s'

ER_INDEX_COLUMN_TOO_LONG

Index column size too large. The maximum column size is %lu bytes.

ER_ERROR_IN_TRIGGER_BODY

Trigger '%s' has an error in its body: '%s'

ER_ERROR_IN_UNKNOWN_TRIGGER_BODY

Unknown trigger has an error in its body: '%s'

ER_INDEX_CORRUPT

Index %s is corrupted

ER_UNDO_RECORD_TOO_BIG

Undo log record is too big.

ER_BINLOG_UNSAFE_INSERT_IGNORE_SELECT

INSERT IGNORE... SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are ignored. This order cannot be predicted and may differ on master and the slave.

ER_BINLOG_UNSAFE_INSERT_SELECT_UPDATE

INSERT... SELECT... ON DUPLICATE KEY UPDATE is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are updated. This order cannot be predicted and may differ on master and the slave.

ER_BINLOG_UNSAFE_REPLACE_SELECT

REPLACE... SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are replaced. This order cannot be predicted and may differ on master and the slave.

ER_BINLOG_UNSAFE_CREATE_IGNORE_SELECT

CREATE... IGNORE SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are ignored. This order cannot be predicted and may differ on master and the slave.

ER_BINLOG_UNSAFE_CREATE_REPLACE_SELECT

CREATE... REPLACE SELECT is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are replaced. This order cannot be predicted and may differ on master and the slave.

ER_BINLOG_UNSAFE_UPDATE_IGNORE

UPDATE IGNORE is unsafe because the order in which rows are updated determines which (if any) rows are ignored. This order cannot be predicted and may differ on master and the slave.

ER_PLUGIN_NO_UNINSTALL

Plugin '%s' is marked as not dynamically uninstallable. You have to stop the server to uninstall it.

ER_PLUGIN_NO_INSTALL

Plugin '%s' is marked as not dynamically installable. You have to stop the server to install it.

ER_BINLOG_UNSAFE_WRITE_AUTOINC_SELECT

Statements writing to a table with an auto-increment column after selecting from another table are unsafe because the order in which rows are retrieved determines what (if any) rows will be written. This order cannot be predicted and may differ on master and the slave.

ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC

CREATE TABLE... SELECT... on a table with an auto-increment column is unsafe because the order in which rows are retrieved by the SELECT determines which (if any) rows are inserted. This order cannot be predicted and may differ on master and the slave.

ER_BINLOG_UNSAFE_INSERT_TWO_KEYS

INSERT... ON DUPLICATE KEY UPDATE on a table with more than one UNIQUE KEY is unsafe

ER_TABLE_IN_FK_CHECK

Table is being used in foreign key check.

ER_UNSUPPORTED_ENGINE

Storage engine '%s' does not support system tables. [%s.%s]

ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST

INSERT into autoincrement field which is not the first part in the composed primary key is unsafe.

ER_CANNOT_LOAD_FROM_TABLE_V2

Cannot load from %s.%s. The table is probably corrupted

ER_MASTER_DELAY_VALUE_OUT_OF_RANGE

The requested value %s for the master delay exceeds the maximum %u

ER_ONLY_FD_AND_RBR_EVENTS_ALLOWED_IN_BINLOG_STATEMENT

Only Format_description_log_event and row events are allowed in BINLOG statements (but %s was provided

ER_PARTITION_EXCHANGE_DIFFERENT_OPTION

Non matching attribute '%s' between partition and table

ER_PARTITION_EXCHANGE_PART_TABLE

Table to exchange with partition is partitioned: '%s'

ER_PARTITION_EXCHANGE_TEMP_TABLE

Table to exchange with partition is temporary: '%s'

ER_PARTITION_INSTEAD_OF_SUBPARTITION

Subpartitioned table, use subpartition instead of partition

ER_UNKNOWN_PARTITION

Unknown partition '%s' in table '%s'

ER_TABLES_DIFFERENT_METADATA

Tables have different definitions

ER_ROW_DOES_NOT_MATCH_PARTITION

Found a row that does not match the partition

ER_BINLOG_CACHE_SIZE_GREATER_THAN_MAX

Option binlog_cache_size (%lu) is greater than max_binlog_cache_size (%lu); setting binlog_cache_size equal to max_binlog_cache_size.

ER_WARN_INDEX_NOT_APPLICABLE

Cannot use %s access on index '%s' due to type or collation conversion on field '%s'

ER_PARTITION_EXCHANGE_FOREIGN_KEY

Table to exchange with partition has foreign key references: '%s'

ER_NO_SUCH_KEY_VALUE

Key value '%s' was not found in table '%s.%s'

ER_RPL_INFO_DATA_TOO_LONG

Data for column '%s' too long

ER_NETWORK_READ_EVENT_CHECKSUM_FAILURE

Replication event checksum verification failed while reading from network.

ER_BINLOG_READ_EVENT_CHECKSUM_FAILURE

Replication event checksum verification failed while reading from a log file.

ER_BINLOG_STMT_CACHE_SIZE_GREATER_THAN_MAX

Option binlog_stmt_cache_size (%lu) is greater than max_binlog_stmt_cache_size (%lu); setting binlog_stmt_cache_size equal to max_binlog_stmt_cache_size.

ER_CANT_UPDATE_TABLE_IN_CREATE_TABLE_SELECT

Can't update table '%s' while '%s' is being created.

ER_PARTITION_CLAUSE_ON_NONPARTITIONED

PARTITION () clause on non partitioned table

ER_ROW_DOES_NOT_MATCH_GIVEN_PARTITION_SET

Found a row not matching the given partition set

ER_NO_SUCH_PARTITION_UNUSED

partition '%s' doesn't exist

ER_CHANGE_RPL_INFO_REPOSITORY_FAILURE

Failure while changing the type of replication repository: %s.

ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_CREATED_TEMP_TABLE

The creation of some temporary tables could not be rolled back.

ER_WARNING_NOT_COMPLETE_ROLLBACK_WITH_DROPPED_TEMP_TABLE

Some temporary tables were dropped, but these operations could not be rolled back.

ER_MTS_FEATURE_IS_NOT_SUPPORTED

%s is not supported in multi-threaded slave mode. %s

ER_MTS_UPDATED_DBS_GREATER_MAX

The number of modified databases exceeds the maximum %d; the database names will not be included in the replication event metadata.

ER_MTS_CANT_PARALLEL

Cannot execute the current event group in the parallel mode. Encountered event %s, relay-log name %s, position %s which prevents execution of this event group in parallel mode. Reason: %s.

ER_MTS_INCONSISTENT_DATA

%s

ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING

FULLTEXT index is not supported for partitioned tables.

ER_DA_INVALID_CONDITION_NUMBER

Invalid condition number

ER_INSECURE_PLAIN_TEXT

Sending passwords in plain text without SSL/TLS is extremely insecure.

ER_INSECURE_CHANGE_MASTER

Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.

ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO

Foreign key constraint for table '%s', record '%s' would lead to a duplicate entry in table '%s', key '%s'

ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO

Foreign key constraint for table '%s', record '%s' would lead to a duplicate entry in a child table

ER_SQLTHREAD_WITH_SECURE_SLAVE

Setting authentication options is not possible when only the Slave SQL Thread is being started.

ER_TABLE_HAS_NO_FT

The table does not have FULLTEXT index to support this query

ER_VARIABLE_NOT_SETTABLE_IN_SF_OR_TRIGGER

The system variable %s cannot be set in stored functions or triggers.

ER_VARIABLE_NOT_SETTABLE_IN_TRANSACTION

The system variable %s cannot be set when there is an ongoing transaction.

ER_GTID_NEXT_IS_NOT_IN_GTID_NEXT_LIST

The system variable @@SESSION.GTID_NEXT has the value %s, which is not listed in @@SESSION.GTID_NEXT_LIST.

ER_CANT_CHANGE_GTID_NEXT_IN_TRANSACTION_WHEN_GTID_NEXT_LIST_IS_NULL

The system variable @@SESSION.GTID_NEXT cannot change inside a transaction.

ER_SET_STATEMENT_CANNOT_INVOKE_FUNCTION

The statement 'SET %s' cannot invoke a stored function.

ER_GTID_NEXT_CANT_BE_AUTOMATIC_IF_GTID_NEXT_LIST_IS_NON_NULL

The system variable @@SESSION.GTID_NEXT cannot be 'AUTOMATIC' when @@SESSION.GTID_NEXT_LIST is non-NULL.

ER_SKIPPING_LOGGED_TRANSACTION

Skipping transaction %s because it has already been executed and logged.

ER_MALFORMED_GTID_SET_SPECIFICATION

Malformed GTID set specification '%s'.

ER_MALFORMED_GTID_SET_ENCODING

Malformed GTID set encoding.

ER_MALFORMED_GTID_SPECIFICATION

Malformed GTID specification '%s'.

ER_GNO_EXHAUSTED

Impossible to generate Global Transaction Identifier: the integer component reached the maximal value. Restart the server with a new server_uuid.

ER_BAD_SLAVE_AUTO_POSITION

Parameters MASTER_LOG_FILE, MASTER_LOG_POS, RELAY_LOG_FILE and RELAY_LOG_POS cannot be set when MASTER_AUTO_POSITION is active.

ER_AUTO_POSITION_REQUIRES_GTID_MODE_ON

CHANGE MASTER TO MASTER_AUTO_POSITION = 1 can only be executed when @@GLOBAL.GTID_MODE = ON.

ER_CANT_DO_IMPLICIT_COMMIT_IN_TRX_WHEN_GTID_NEXT_IS_SET

Cannot execute statements with implicit commit inside a transaction when @@SESSION.GTID_NEXT != AUTOMATIC.

ER_GTID_MODE_2_OR_3_REQUIRES_DISABLE_GTID_UNSAFE_STATEMENTS_ON

GTID_MODE = ON or GTID_MODE = UPGRADE_STEP_2 requires DISABLE_GTID_UNSAFE_STATEMENTS = 1.

ER_GTID_MODE_REQUIRES_BINLOG

@@GLOBAL.GTID_MODE = ON or UPGRADE_STEP_1 or UPGRADE_STEP_2 requires --log-bin and --log-slave-updates.

ER_CANT_SET_GTID_NEXT_TO_GTID_WHEN_GTID_MODE_IS_OFF

@@SESSION.GTID_NEXT cannot be set to UUID:NUMBER when @@GLOBAL.GTID_MODE = OFF.

ER_CANT_SET_GTID_NEXT_TO_ANONYMOUS_WHEN_GTID_MODE_IS_ON

@@SESSION.GTID_NEXT cannot be set to ANONYMOUS when @@GLOBAL.GTID_MODE = ON.

ER_CANT_SET_GTID_NEXT_LIST_TO_NON_NULL_WHEN_GTID_MODE_IS_OFF

@@SESSION.GTID_NEXT_LIST cannot be set to a non-NULL value when @@GLOBAL.GTID_MODE = OFF.

ER_FOUND_GTID_EVENT_WHEN_GTID_MODE_IS_OFF

Found a Gtid_log_event or Previous_gtids_log_event when @@GLOBAL.GTID_MODE = OFF.

ER_GTID_UNSAFE_NON_TRANSACTIONAL_TABLE

When @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1, updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional tables.

ER_GTID_UNSAFE_CREATE_SELECT

CREATE TABLE ... SELECT is forbidden when @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1.

ER_GTID_UNSAFE_CREATE_DROP_TEMPORARY_TABLE_IN_TRANSACTION

When @@GLOBAL.ENFORCE_GTID_CONSISTENCY = 1, the statements CREATE TEMPORARY TABLE and DROP TEMPORARY TABLE can be executed in a non-transactional context only, and require that AUTOCOMMIT = 1.

ER_GTID_MODE_CAN_ONLY_CHANGE_ONE_STEP_AT_A_TIME

The value of @@GLOBAL.GTID_MODE can only change one step at a time: OFF <-> UPGRADE_STEP_1 <-> UPGRADE_STEP_2 <-> ON. Also note that this value must be stepped up or down simultaneously on all servers; see the Manual for instructions.

ER_MASTER_HAS_PURGED_REQUIRED_GTIDS

The slave is connecting using CHANGE MASTER TO MASTER_AUTO_POSITION = 1, but the master has purged binary logs containing GTIDs that the slave requires.

ER_CANT_SET_GTID_NEXT_WHEN_OWNING_GTID

@@SESSION.GTID_NEXT cannot be changed by a client that owns a GTID. The client owns %s. Ownership is released on COMMIT or ROLLBACK.

ER_UNKNOWN_EXPLAIN_FORMAT

Unknown EXPLAIN format name: '%s'

ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION

Cannot execute statement in a READ ONLY transaction.

ER_TOO_LONG_TABLE_PARTITION_COMMENT

Comment for table partition '%s' is too long (max = %lu

ER_SLAVE_CONFIGURATION

Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.

ER_INNODB_FT_LIMIT

InnoDB presently supports one FULLTEXT index creation at a time

ER_INNODB_NO_FT_TEMP_TABLE

Cannot create FULLTEXT index on temporary InnoDB table

ER_INNODB_FT_WRONG_DOCID_COLUMN

Column '%s' is of wrong type for an InnoDB FULLTEXT index

ER_INNODB_FT_WRONG_DOCID_INDEX

Index '%s' is of wrong type for an InnoDB FULLTEXT index

ER_INNODB_ONLINE_LOG_TOO_BIG

Creating index '%s' required more than 'innodb_online_alter_log_max_size' bytes of modification log. Please try again.

ER_UNKNOWN_ALTER_ALGORITHM

Unknown ALGORITHM '%s'

ER_UNKNOWN_ALTER_LOCK

Unknown LOCK type '%s'

ER_MTS_CHANGE_MASTER_CANT_RUN_WITH_GAPS

CHANGE MASTER cannot be executed when the slave was stopped with an error or killed in MTS mode. Consider using RESET SLAVE or START SLAVE UNTIL.

ER_MTS_RECOVERY_FAILURE

Cannot recover after SLAVE errored out in parallel execution mode. Additional error messages can be found in the MySQL error log.

ER_MTS_RESET_WORKERS

Cannot clean up worker info tables. Additional error messages can be found in the MySQL error log.

ER_COL_COUNT_DOESNT_MATCH_CORRUPTED_V2

Column count of %s.%s is wrong. Expected %d, found %d. The table is probably corrupted

ER_SLAVE_SILENT_RETRY_TRANSACTION

Slave must silently retry current transaction

ER_DISCARD_FK_CHECKS_RUNNING

There is a foreign key check running on table '%s'. Cannot discard the table.

ER_TABLE_SCHEMA_MISMATCH

Schema mismatch (%s

ER_TABLE_IN_SYSTEM_TABLESPACE

Table '%s' in system tablespace

ER_IO_READ_ERROR

IO Read error: (%lu, %s) %s

ER_IO_WRITE_ERROR

IO Write error: (%lu, %s) %s

ER_TABLESPACE_MISSING

Tablespace is missing for table '%s'

ER_TABLESPACE_EXISTS

Tablespace for table '%s' exists. Please DISCARD the tablespace before IMPORT.

ER_TABLESPACE_DISCARDED

Tablespace has been discarded for table '%s'

ER_INTERNAL_ERROR

Internal error: %s

ER_INNODB_IMPORT_ERROR

ALTER TABLE '%s' IMPORT TABLESPACE failed with error %lu : '%s'

ER_INNODB_INDEX_CORRUPT

Index corrupt: %s

ER_INVALID_YEAR_COLUMN_LENGTH

YEAR(%lu) column type is deprecated. Creating YEAR(4) column instead.

ER_NOT_VALID_PASSWORD

Your password does not satisfy the current policy requirements

ER_MUST_CHANGE_PASSWORD

You must SET PASSWORD before executing this statement

ER_FK_NO_INDEX_CHILD

Failed to add the foreign key constaint. Missing index for constraint '%s' in the foreign table '%s'

ER_FK_NO_INDEX_PARENT

Failed to add the foreign key constaint. Missing index for constraint '%s' in the referenced table '%s'

ER_FK_FAIL_ADD_SYSTEM

Failed to add the foreign key constraint '%s' to system tables

ER_FK_CANNOT_OPEN_PARENT

Failed to open the referenced table '%s'

ER_FK_INCORRECT_OPTION

Failed to add the foreign key constraint on table '%s'. Incorrect options in FOREIGN KEY constraint '%s'

ER_FK_DUP_NAME

Duplicate foreign key constraint name '%s'

ER_PASSWORD_FORMAT

The password hash doesn't have the expected format. Check if the correct password algorithm is being used with the PASSWORD() function.

ER_FK_COLUMN_CANNOT_DROP

Cannot drop column '%s': needed in a foreign key constraint '%s'

ER_FK_COLUMN_CANNOT_DROP_CHILD

Cannot drop column '%s': needed in a foreign key constraint '%s' of table '%s'

ER_FK_COLUMN_NOT_NULL

Column '%s' cannot be NOT NULL: needed in a foreign key constraint '%s' SET NULL

ER_DUP_INDEX

Duplicate index '%s' defined on the table '%s.%s'. This is deprecated and will be disallowed in a future release.

ER_FK_COLUMN_CANNOT_CHANGE

Cannot change column '%s': used in a foreign key constraint '%s'

ER_FK_COLUMN_CANNOT_CHANGE_CHILD

Cannot change column '%s': used in a foreign key constraint '%s' of table '%s'

ER_FK_CANNOT_DELETE_PARENT

Cannot delete rows from table which is parent in a foreign key constraint '%s' of table '%s'

ER_MALFORMED_PACKET

Malformed communication packet.

ER_READ_ONLY_MODE

Running in read-only mode

ER_GTID_NEXT_TYPE_UNDEFINED_GROUP

When @@SESSION.GTID_NEXT is set to a GTID, you must explicitly set it to a different value after a COMMIT or ROLLBACK. Please check GTID_NEXT variable manual page for detailed explanation. Current @@SESSION.GTID_NEXT is '%s'.

ER_VARIABLE_NOT_SETTABLE_IN_SP

The system variable %s cannot be set in stored procedures.

ER_CANT_SET_GTID_PURGED_WHEN_GTID_MODE_IS_OFF

@@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_MODE = ON.

ER_CANT_SET_GTID_PURGED_WHEN_GTID_EXECUTED_IS_NOT_EMPTY

@@GLOBAL.GTID_PURGED can only be set when @@GLOBAL.GTID_EXECUTED is empty.

ER_CANT_SET_GTID_PURGED_WHEN_OWNED_GTIDS_IS_NOT_EMPTY

@@GLOBAL.GTID_PURGED can only be set when there are no ongoing transactions (not even in other clients).

ER_GTID_PURGED_WAS_CHANGED

@@GLOBAL.GTID_PURGED was changed from '%s' to '%s'.

ER_GTID_EXECUTED_WAS_CHANGED

@@GLOBAL.GTID_EXECUTED was changed from '%s' to '%s'.

ER_BINLOG_STMT_MODE_AND_NO_REPL_TABLES

Cannot execute statement: impossible to write to binary log since BINLOG_FORMAT = STATEMENT, and both replicated and non replicated tables are written to.

ER_ALTER_OPERATION_NOT_SUPPORTED

%s is not supported for this operation. Try %s.

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON

%s is not supported. Reason: %s. Try %s.

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COPY

COPY algorithm requires a lock

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_PARTITION

Partition specific operations do not yet support LOCK/ALGORITHM

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_RENAME

Columns participating in a foreign key are renamed

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_COLUMN_TYPE

Cannot change column type INPLACE

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK

Adding foreign keys needs foreign_key_checks=OFF

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_IGNORE

Creating unique indexes with IGNORE requires COPY algorithm to remove duplicate rows

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOPK

Dropping a primary key is not allowed without also adding a new primary key

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC

Adding an auto-increment column requires a lock

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_HIDDEN_FTS

Cannot replace hidden FTS_DOC_ID with a user-visible one

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_CHANGE_FTS

Cannot drop or rename FTS_DOC_ID

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FTS

Fulltext index creation requires a lock

ER_SQL_SLAVE_SKIP_COUNTER_NOT_SETTABLE_IN_GTID_MODE

sql_slave_skip_counter can not be set when the server is running with @@GLOBAL.GTID_MODE = ON. Instead, for each transaction that you want to skip, generate an empty transaction with the same GTID as the transaction

ER_DUP_UNKNOWN_IN_INDEX

Duplicate entry for key '%s'

ER_IDENT_CAUSES_TOO_LONG_PATH

Long database name and identifier for object resulted in path length exceeding %d characters. Path: '%s'.

ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_NOT_NULL

cannot silently convert NULL values, as required in this SQL_MODE

ER_MUST_CHANGE_PASSWORD_LOGIN

Your password has expired. To log in you must change it using a client that supports expired passwords.

ER_ROW_IN_WRONG_PARTITION

Found a row in wrong partition %s

ER_MTS_EVENT_BIGGER_PENDING_JOBS_SIZE_MAX

Cannot schedule event %s, relay-log name %s, position %s to Worker thread because its size %lu exceeds %lu of slave_pending_jobs_size_max.

ER_INNODB_NO_FT_USES_PARSER

Cannot CREATE FULLTEXT INDEX WITH PARSER on InnoDB table

ER_BINLOG_LOGICAL_CORRUPTION

The binary log file '%s' is logically corrupted: %s

ER_WARN_PURGE_LOG_IN_USE

file %s was not purged because it was being read by %d thread(s), purged only %d out of %d files.

ER_WARN_PURGE_LOG_IS_ACTIVE

file %s was not purged because it is the active log file.

ER_AUTO_INCREMENT_CONFLICT

Auto-increment value in UPDATE conflicts with internally generated values

WARN_ON_BLOCKHOLE_IN_RBR

Row events are not logged for %s statements that modify BLACKHOLE tables in row format. Table(s): '%s'

ER_SLAVE_MI_INIT_REPOSITORY

Slave failed to initialize master info structure from the repository

ER_SLAVE_RLI_INIT_REPOSITORY

Slave failed to initialize relay log info structure from the repository

ER_ACCESS_DENIED_CHANGE_USER_ERROR

Access denied trying to change to user '%s'@'%s' (using password: %s). Disconnecting.

ER_INNODB_READ_ONLY

InnoDB is in read only mode.

ER_STOP_SLAVE_SQL_THREAD_TIMEOUT

STOP SLAVE command execution is incomplete: Slave SQL thread got the stop signal, thread is busy, SQL thread will stop once the current task is complete.

ER_STOP_SLAVE_IO_THREAD_TIMEOUT

STOP SLAVE command execution is incomplete: Slave IO thread got the stop signal, thread is busy, IO thread will stop once the current task is complete.

ER_TABLE_CORRUPT

Operation cannot be performed. The table '%s.%s' is missing, corrupt or contains bad data.

ER_TEMP_FILE_WRITE_FAILURE

Temporary file write failure.

ER_INNODB_FT_AUX_NOT_HEX_ID

Upgrade index name failed, please use create index(alter table) algorithm copy to rebuild index.

ER_OLD_TEMPORALS_UPGRADED

TIME/TIMESTAMP/DATETIME columns of old format have been upgraded to the new format.

ER_INNODB_FORCED_RECOVERY

Operation not allowed when innodb_forced_recovery > 0.

ER_AES_INVALID_IV

The initialization vector supplied to %s is too short. Must be at least %d bytes long

ER_PLUGIN_CANNOT_BE_UNINSTALLED

Plugin '%s' cannot be uninstalled now. %s

ER_GTID_UNSAFE_BINLOG_SPLITTABLE_STATEMENT_AND_GTID_GROUP

Cannot execute statement because it needs to be written to the binary log as multiple statements, and this is not allowed when @@SESSION.GTID_NEXT == 'UUID:NUMBER'.

ER_SLAVE_HAS_MORE_GTIDS_THAN_MASTER

Slave has more GTIDs than the master has, using the master's SERVER_UUID. This may indicate that the end of the binary log was truncated or that the last binary log file was lost, e.g., after a power or disk failure when sync_binlog != 1. The master may or may not have rolled back transactions that were already replicated to the slave. Suggest to replicate any transactions that master has rolled back from slave to master, and/or commit empty transactions on master to account for transactions that have been committed on master but are not included in GTID_EXECUTED.

Methods

impl ErrorKind[src]

pub fn sqlstate(self) -> &'static [u8; 5][src]

SQLSTATE is a code which identifies SQL error conditions. It composed by five characters: first two characters that indicate a class, and then three that indicate a subclass.

There are three important standard classes.

  • 00 means the operation completed successfully.
  • 01 contains warnings (SQLWARNING).
  • 02 is the NOT FOUND class.

All other classes are exceptions (SQLEXCEPTION). Classes beginning with 0, 1, 2, 3, 4, A, B, C, D, E, F and G are reserved for standard-defined classes, while other classes are vendor-specific.

The subclass, if it is set, indicates a particular condition, or a particular group of conditions within the class. 000 means 'no subclass'.

See also https://mariadb.com/kb/en/library/sqlstate/

Trait Implementations

impl From<u16> for ErrorKind[src]

impl Clone for ErrorKind[src]

impl Copy for ErrorKind[src]

impl Eq for ErrorKind[src]

impl Ord for ErrorKind[src]

impl PartialEq<ErrorKind> for ErrorKind[src]

impl PartialOrd<ErrorKind> for ErrorKind[src]

impl Debug for ErrorKind[src]

impl Hash for ErrorKind[src]

impl StructuralPartialEq for ErrorKind[src]

impl StructuralEq for ErrorKind[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self