MySQL 8.0.39
Source Code Documentation
mysys_err.h File Reference

Go to the source code of this file.

Macros

#define GLOBERRS
 
#define EE(X)   (globerrs[(X)-EE_ERROR_FIRST])
 
#define EE_ERROR_FIRST   1 /*Copy first error nr.*/
 
#define EE_CANTCREATEFILE   1
 
#define EE_READ   2
 
#define EE_WRITE   3
 
#define EE_BADCLOSE   4
 
#define EE_OUTOFMEMORY   5
 
#define EE_DELETE   6
 
#define EE_LINK   7
 
#define EE_EOFERR   9
 
#define EE_CANTLOCK   10
 
#define EE_CANTUNLOCK   11
 
#define EE_DIR   12
 
#define EE_STAT   13
 
#define EE_CANT_CHSIZE   14
 
#define EE_CANT_OPEN_STREAM   15
 
#define EE_GETWD   16
 
#define EE_SETWD   17
 
#define EE_LINK_WARNING   18
 
#define EE_OPEN_WARNING   19
 
#define EE_DISK_FULL   20
 
#define EE_CANT_MKDIR   21
 
#define EE_UNKNOWN_CHARSET   22
 
#define EE_OUT_OF_FILERESOURCES   23
 
#define EE_CANT_READLINK   24
 
#define EE_CANT_SYMLINK   25
 
#define EE_REALPATH   26
 
#define EE_SYNC   27
 
#define EE_UNKNOWN_COLLATION   28
 
#define EE_FILENOTFOUND   29
 
#define EE_FILE_NOT_CLOSED   30
 
#define EE_CHANGE_OWNERSHIP   31
 
#define EE_CHANGE_PERMISSIONS   32
 
#define EE_CANT_SEEK   33
 
#define EE_CAPACITY_EXCEEDED   34
 
#define EE_DISK_FULL_WITH_RETRY_MSG   35
 
#define EE_FAILED_TO_CREATE_TIMER   36
 
#define EE_FAILED_TO_DELETE_TIMER   37
 
#define EE_FAILED_TO_CREATE_TIMER_QUEUE   38
 
#define EE_FAILED_TO_START_TIMER_NOTIFY_THREAD   39
 
#define EE_FAILED_TO_CREATE_TIMER_NOTIFY_THREAD_INTERRUPT_EVENT   40
 
#define EE_EXITING_TIMER_NOTIFY_THREAD   41
 
#define EE_WIN_LIBRARY_LOAD_FAILED   42
 
#define EE_WIN_RUN_TIME_ERROR_CHECK   43
 
#define EE_FAILED_TO_DETERMINE_LARGE_PAGE_SIZE   44
 
#define EE_FAILED_TO_KILL_ALL_THREADS   45
 
#define EE_FAILED_TO_CREATE_IO_COMPLETION_PORT   46
 
#define EE_FAILED_TO_OPEN_DEFAULTS_FILE   47
 
#define EE_FAILED_TO_HANDLE_DEFAULTS_FILE   48
 
#define EE_WRONG_DIRECTIVE_IN_CONFIG_FILE   49
 
#define EE_SKIPPING_DIRECTIVE_DUE_TO_MAX_INCLUDE_RECURSION   50
 
#define EE_INCORRECT_GRP_DEFINITION_IN_CONFIG_FILE   51
 
#define EE_OPTION_WITHOUT_GRP_IN_CONFIG_FILE   52
 
#define EE_CONFIG_FILE_PERMISSION_ERROR   53
 
#define EE_IGNORE_WORLD_WRITABLE_CONFIG_FILE   54
 
#define EE_USING_DISABLED_OPTION   55
 
#define EE_USING_DISABLED_SHORT_OPTION   56
 
#define EE_USING_PASSWORD_ON_CLI_IS_INSECURE   57
 
#define EE_UNKNOWN_SUFFIX_FOR_VARIABLE   58
 
#define EE_SSL_ERROR_FROM_FILE   59
 
#define EE_SSL_ERROR   60
 
#define EE_NET_SEND_ERROR_IN_BOOTSTRAP   61
 
#define EE_PACKETS_OUT_OF_ORDER   62
 
#define EE_UNKNOWN_PROTOCOL_OPTION   63
 
#define EE_FAILED_TO_LOCATE_SERVER_PUBLIC_KEY   64
 
#define EE_PUBLIC_KEY_NOT_IN_PEM_FORMAT   65
 
#define EE_DEBUG_INFO   66
 
#define EE_UNKNOWN_VARIABLE   67
 
#define EE_UNKNOWN_OPTION   68
 
#define EE_UNKNOWN_SHORT_OPTION   69
 
#define EE_OPTION_WITHOUT_ARGUMENT   70
 
#define EE_OPTION_REQUIRES_ARGUMENT   71
 
#define EE_SHORT_OPTION_REQUIRES_ARGUMENT   72
 
#define EE_OPTION_IGNORED_DUE_TO_INVALID_VALUE   73
 
#define EE_OPTION_WITH_EMPTY_VALUE   74
 
#define EE_FAILED_TO_ASSIGN_MAX_VALUE_TO_OPTION   75
 
#define EE_INCORRECT_BOOLEAN_VALUE_FOR_OPTION   76
 
#define EE_FAILED_TO_SET_OPTION_VALUE   77
 
#define EE_INCORRECT_INT_VALUE_FOR_OPTION   78
 
#define EE_INCORRECT_UINT_VALUE_FOR_OPTION   79
 
#define EE_ADJUSTED_SIGNED_VALUE_FOR_OPTION   80
 
#define EE_ADJUSTED_UNSIGNED_VALUE_FOR_OPTION   81
 
#define EE_ADJUSTED_ULONGLONG_VALUE_FOR_OPTION   82
 
#define EE_ADJUSTED_DOUBLE_VALUE_FOR_OPTION   83
 
#define EE_INVALID_DECIMAL_VALUE_FOR_OPTION   84
 
#define EE_COLLATION_PARSER_ERROR   85
 
#define EE_FAILED_TO_RESET_BEFORE_PRIMARY_IGNORABLE_CHAR   86
 
#define EE_FAILED_TO_RESET_BEFORE_TERTIARY_IGNORABLE_CHAR   87
 
#define EE_SHIFT_CHAR_OUT_OF_RANGE   88
 
#define EE_RESET_CHAR_OUT_OF_RANGE   89
 
#define EE_UNKNOWN_LDML_TAG   90
 
#define EE_FAILED_TO_RESET_BEFORE_SECONDARY_IGNORABLE_CHAR   91
 
#define EE_FAILED_PROCESSING_DIRECTIVE   92
 
#define EE_PTHREAD_KILL_FAILED   93
 
#define EE_ERROR_LAST   93 /* Copy last error nr */
 
#define EXIT_UNSPECIFIED_ERROR   1
 
#define EXIT_UNKNOWN_OPTION   2
 
#define EXIT_AMBIGUOUS_OPTION   3
 
#define EXIT_NO_ARGUMENT_ALLOWED   4
 
#define EXIT_ARGUMENT_REQUIRED   5
 
#define EXIT_VAR_PREFIX_NOT_UNIQUE   6
 
#define EXIT_UNKNOWN_VARIABLE   7
 
#define EXIT_OUT_OF_MEMORY   8
 
#define EXIT_UNKNOWN_SUFFIX   9
 
#define EXIT_NO_PTR_TO_VARIABLE   10
 
#define EXIT_CANNOT_CONNECT_TO_SERVICE   11
 
#define EXIT_OPTION_DISABLED   12
 
#define EXIT_ARGUMENT_INVALID   13
 

Variables

const char * globerrs []
 

Macro Definition Documentation

◆ EE

#define EE (   X)    (globerrs[(X)-EE_ERROR_FIRST])

◆ EE_ADJUSTED_DOUBLE_VALUE_FOR_OPTION

#define EE_ADJUSTED_DOUBLE_VALUE_FOR_OPTION   83

◆ EE_ADJUSTED_SIGNED_VALUE_FOR_OPTION

#define EE_ADJUSTED_SIGNED_VALUE_FOR_OPTION   80

◆ EE_ADJUSTED_ULONGLONG_VALUE_FOR_OPTION

#define EE_ADJUSTED_ULONGLONG_VALUE_FOR_OPTION   82

◆ EE_ADJUSTED_UNSIGNED_VALUE_FOR_OPTION

#define EE_ADJUSTED_UNSIGNED_VALUE_FOR_OPTION   81

◆ EE_BADCLOSE

#define EE_BADCLOSE   4

◆ EE_CANT_CHSIZE

#define EE_CANT_CHSIZE   14

◆ EE_CANT_MKDIR

#define EE_CANT_MKDIR   21

◆ EE_CANT_OPEN_STREAM

#define EE_CANT_OPEN_STREAM   15

◆ EE_CANT_READLINK

#define EE_CANT_READLINK   24

◆ EE_CANT_SEEK

#define EE_CANT_SEEK   33

◆ EE_CANT_SYMLINK

#define EE_CANT_SYMLINK   25

◆ EE_CANTCREATEFILE

#define EE_CANTCREATEFILE   1

◆ EE_CANTLOCK

#define EE_CANTLOCK   10

◆ EE_CANTUNLOCK

#define EE_CANTUNLOCK   11

◆ EE_CAPACITY_EXCEEDED

#define EE_CAPACITY_EXCEEDED   34

◆ EE_CHANGE_OWNERSHIP

#define EE_CHANGE_OWNERSHIP   31

◆ EE_CHANGE_PERMISSIONS

#define EE_CHANGE_PERMISSIONS   32

◆ EE_COLLATION_PARSER_ERROR

#define EE_COLLATION_PARSER_ERROR   85

◆ EE_CONFIG_FILE_PERMISSION_ERROR

#define EE_CONFIG_FILE_PERMISSION_ERROR   53

◆ EE_DEBUG_INFO

#define EE_DEBUG_INFO   66

◆ EE_DELETE

#define EE_DELETE   6

◆ EE_DIR

#define EE_DIR   12

◆ EE_DISK_FULL

#define EE_DISK_FULL   20

◆ EE_DISK_FULL_WITH_RETRY_MSG

#define EE_DISK_FULL_WITH_RETRY_MSG   35

◆ EE_EOFERR

#define EE_EOFERR   9

◆ EE_ERROR_FIRST

#define EE_ERROR_FIRST   1 /*Copy first error nr.*/

◆ EE_ERROR_LAST

#define EE_ERROR_LAST   93 /* Copy last error nr */

◆ EE_EXITING_TIMER_NOTIFY_THREAD

#define EE_EXITING_TIMER_NOTIFY_THREAD   41

◆ EE_FAILED_PROCESSING_DIRECTIVE

#define EE_FAILED_PROCESSING_DIRECTIVE   92

◆ EE_FAILED_TO_ASSIGN_MAX_VALUE_TO_OPTION

#define EE_FAILED_TO_ASSIGN_MAX_VALUE_TO_OPTION   75

◆ EE_FAILED_TO_CREATE_IO_COMPLETION_PORT

#define EE_FAILED_TO_CREATE_IO_COMPLETION_PORT   46

◆ EE_FAILED_TO_CREATE_TIMER

#define EE_FAILED_TO_CREATE_TIMER   36

◆ EE_FAILED_TO_CREATE_TIMER_NOTIFY_THREAD_INTERRUPT_EVENT

#define EE_FAILED_TO_CREATE_TIMER_NOTIFY_THREAD_INTERRUPT_EVENT   40

◆ EE_FAILED_TO_CREATE_TIMER_QUEUE

#define EE_FAILED_TO_CREATE_TIMER_QUEUE   38

◆ EE_FAILED_TO_DELETE_TIMER

#define EE_FAILED_TO_DELETE_TIMER   37

◆ EE_FAILED_TO_DETERMINE_LARGE_PAGE_SIZE

#define EE_FAILED_TO_DETERMINE_LARGE_PAGE_SIZE   44

◆ EE_FAILED_TO_HANDLE_DEFAULTS_FILE

#define EE_FAILED_TO_HANDLE_DEFAULTS_FILE   48

◆ EE_FAILED_TO_KILL_ALL_THREADS

#define EE_FAILED_TO_KILL_ALL_THREADS   45

◆ EE_FAILED_TO_LOCATE_SERVER_PUBLIC_KEY

#define EE_FAILED_TO_LOCATE_SERVER_PUBLIC_KEY   64

◆ EE_FAILED_TO_OPEN_DEFAULTS_FILE

#define EE_FAILED_TO_OPEN_DEFAULTS_FILE   47

◆ EE_FAILED_TO_RESET_BEFORE_PRIMARY_IGNORABLE_CHAR

#define EE_FAILED_TO_RESET_BEFORE_PRIMARY_IGNORABLE_CHAR   86

◆ EE_FAILED_TO_RESET_BEFORE_SECONDARY_IGNORABLE_CHAR

#define EE_FAILED_TO_RESET_BEFORE_SECONDARY_IGNORABLE_CHAR   91

◆ EE_FAILED_TO_RESET_BEFORE_TERTIARY_IGNORABLE_CHAR

#define EE_FAILED_TO_RESET_BEFORE_TERTIARY_IGNORABLE_CHAR   87

◆ EE_FAILED_TO_SET_OPTION_VALUE

#define EE_FAILED_TO_SET_OPTION_VALUE   77

◆ EE_FAILED_TO_START_TIMER_NOTIFY_THREAD

#define EE_FAILED_TO_START_TIMER_NOTIFY_THREAD   39

◆ EE_FILE_NOT_CLOSED

#define EE_FILE_NOT_CLOSED   30

◆ EE_FILENOTFOUND

#define EE_FILENOTFOUND   29

◆ EE_GETWD

#define EE_GETWD   16

◆ EE_IGNORE_WORLD_WRITABLE_CONFIG_FILE

#define EE_IGNORE_WORLD_WRITABLE_CONFIG_FILE   54

◆ EE_INCORRECT_BOOLEAN_VALUE_FOR_OPTION

#define EE_INCORRECT_BOOLEAN_VALUE_FOR_OPTION   76

◆ EE_INCORRECT_GRP_DEFINITION_IN_CONFIG_FILE

#define EE_INCORRECT_GRP_DEFINITION_IN_CONFIG_FILE   51

◆ EE_INCORRECT_INT_VALUE_FOR_OPTION

#define EE_INCORRECT_INT_VALUE_FOR_OPTION   78

◆ EE_INCORRECT_UINT_VALUE_FOR_OPTION

#define EE_INCORRECT_UINT_VALUE_FOR_OPTION   79

◆ EE_INVALID_DECIMAL_VALUE_FOR_OPTION

#define EE_INVALID_DECIMAL_VALUE_FOR_OPTION   84

◆ EE_LINK

#define EE_LINK   7

◆ EE_LINK_WARNING

#define EE_LINK_WARNING   18

◆ EE_NET_SEND_ERROR_IN_BOOTSTRAP

#define EE_NET_SEND_ERROR_IN_BOOTSTRAP   61

◆ EE_OPEN_WARNING

#define EE_OPEN_WARNING   19

◆ EE_OPTION_IGNORED_DUE_TO_INVALID_VALUE

#define EE_OPTION_IGNORED_DUE_TO_INVALID_VALUE   73

◆ EE_OPTION_REQUIRES_ARGUMENT

#define EE_OPTION_REQUIRES_ARGUMENT   71

◆ EE_OPTION_WITH_EMPTY_VALUE

#define EE_OPTION_WITH_EMPTY_VALUE   74

◆ EE_OPTION_WITHOUT_ARGUMENT

#define EE_OPTION_WITHOUT_ARGUMENT   70

◆ EE_OPTION_WITHOUT_GRP_IN_CONFIG_FILE

#define EE_OPTION_WITHOUT_GRP_IN_CONFIG_FILE   52

◆ EE_OUT_OF_FILERESOURCES

#define EE_OUT_OF_FILERESOURCES   23

◆ EE_OUTOFMEMORY

#define EE_OUTOFMEMORY   5

◆ EE_PACKETS_OUT_OF_ORDER

#define EE_PACKETS_OUT_OF_ORDER   62

◆ EE_PTHREAD_KILL_FAILED

#define EE_PTHREAD_KILL_FAILED   93

◆ EE_PUBLIC_KEY_NOT_IN_PEM_FORMAT

#define EE_PUBLIC_KEY_NOT_IN_PEM_FORMAT   65

◆ EE_READ

#define EE_READ   2

◆ EE_REALPATH

#define EE_REALPATH   26

◆ EE_RESET_CHAR_OUT_OF_RANGE

#define EE_RESET_CHAR_OUT_OF_RANGE   89

◆ EE_SETWD

#define EE_SETWD   17

◆ EE_SHIFT_CHAR_OUT_OF_RANGE

#define EE_SHIFT_CHAR_OUT_OF_RANGE   88

◆ EE_SHORT_OPTION_REQUIRES_ARGUMENT

#define EE_SHORT_OPTION_REQUIRES_ARGUMENT   72

◆ EE_SKIPPING_DIRECTIVE_DUE_TO_MAX_INCLUDE_RECURSION

#define EE_SKIPPING_DIRECTIVE_DUE_TO_MAX_INCLUDE_RECURSION   50

◆ EE_SSL_ERROR

#define EE_SSL_ERROR   60

◆ EE_SSL_ERROR_FROM_FILE

#define EE_SSL_ERROR_FROM_FILE   59

◆ EE_STAT

#define EE_STAT   13

◆ EE_SYNC

#define EE_SYNC   27

◆ EE_UNKNOWN_CHARSET

#define EE_UNKNOWN_CHARSET   22

◆ EE_UNKNOWN_COLLATION

#define EE_UNKNOWN_COLLATION   28

◆ EE_UNKNOWN_LDML_TAG

#define EE_UNKNOWN_LDML_TAG   90

◆ EE_UNKNOWN_OPTION

#define EE_UNKNOWN_OPTION   68

◆ EE_UNKNOWN_PROTOCOL_OPTION

#define EE_UNKNOWN_PROTOCOL_OPTION   63

◆ EE_UNKNOWN_SHORT_OPTION

#define EE_UNKNOWN_SHORT_OPTION   69

◆ EE_UNKNOWN_SUFFIX_FOR_VARIABLE

#define EE_UNKNOWN_SUFFIX_FOR_VARIABLE   58

◆ EE_UNKNOWN_VARIABLE

#define EE_UNKNOWN_VARIABLE   67

◆ EE_USING_DISABLED_OPTION

#define EE_USING_DISABLED_OPTION   55

◆ EE_USING_DISABLED_SHORT_OPTION

#define EE_USING_DISABLED_SHORT_OPTION   56

◆ EE_USING_PASSWORD_ON_CLI_IS_INSECURE

#define EE_USING_PASSWORD_ON_CLI_IS_INSECURE   57

◆ EE_WIN_LIBRARY_LOAD_FAILED

#define EE_WIN_LIBRARY_LOAD_FAILED   42

◆ EE_WIN_RUN_TIME_ERROR_CHECK

#define EE_WIN_RUN_TIME_ERROR_CHECK   43

◆ EE_WRITE

#define EE_WRITE   3

◆ EE_WRONG_DIRECTIVE_IN_CONFIG_FILE

#define EE_WRONG_DIRECTIVE_IN_CONFIG_FILE   49

◆ EXIT_AMBIGUOUS_OPTION

#define EXIT_AMBIGUOUS_OPTION   3

◆ EXIT_ARGUMENT_INVALID

#define EXIT_ARGUMENT_INVALID   13

◆ EXIT_ARGUMENT_REQUIRED

#define EXIT_ARGUMENT_REQUIRED   5

◆ EXIT_CANNOT_CONNECT_TO_SERVICE

#define EXIT_CANNOT_CONNECT_TO_SERVICE   11

◆ EXIT_NO_ARGUMENT_ALLOWED

#define EXIT_NO_ARGUMENT_ALLOWED   4

◆ EXIT_NO_PTR_TO_VARIABLE

#define EXIT_NO_PTR_TO_VARIABLE   10

◆ EXIT_OPTION_DISABLED

#define EXIT_OPTION_DISABLED   12

◆ EXIT_OUT_OF_MEMORY

#define EXIT_OUT_OF_MEMORY   8

◆ EXIT_UNKNOWN_OPTION

#define EXIT_UNKNOWN_OPTION   2

◆ EXIT_UNKNOWN_SUFFIX

#define EXIT_UNKNOWN_SUFFIX   9

◆ EXIT_UNKNOWN_VARIABLE

#define EXIT_UNKNOWN_VARIABLE   7

◆ EXIT_UNSPECIFIED_ERROR

#define EXIT_UNSPECIFIED_ERROR   1

◆ EXIT_VAR_PREFIX_NOT_UNIQUE

#define EXIT_VAR_PREFIX_NOT_UNIQUE   6

◆ GLOBERRS

#define GLOBERRS
Value:
(EE_ERROR_LAST - EE_ERROR_FIRST + 1) /* Nr of global errors \
*/
#define EE_ERROR_LAST
Definition: mysys_err.h:138
#define EE_ERROR_FIRST
Definition: mysys_err.h:45

Variable Documentation

◆ globerrs

const char* globerrs[]
extern