56
56
EE_FILE_NOT_CLOSED,
57
57
EE_ERROR_LAST= EE_FILE_NOT_CLOSED,
59
HA_ERR_KEY_NOT_FOUND= 120, /* Didn't find key on read or update */
60
HA_ERR_FOUND_DUPP_KEY= 121, /* Dupplicate key on write */
61
HA_ERR_INTERNAL_ERROR= 122, /* Internal error */
62
HA_ERR_RECORD_CHANGED= 123, /* Uppdate with is recoverable */
63
HA_ERR_WRONG_INDEX= 124, /* Wrong index given to function */
64
HA_ERR_CRASHED= 126, /* Indexfile is crashed */
65
HA_ERR_WRONG_IN_RECORD= 127, /* Record-file is crashed */
66
HA_ERR_OUT_OF_MEM= 128, /* Record-file is crashed */
67
HA_ERR_NOT_A_TABLE= 130, /* not a MYI file - no signature */
68
HA_ERR_WRONG_COMMAND= 131, /* Command not supported */
69
HA_ERR_OLD_FILE= 132, /* old databasfile */
70
HA_ERR_NO_ACTIVE_RECORD= 133, /* No record read in update() */
71
HA_ERR_RECORD_DELETED= 134, /* A record is not there */
72
HA_ERR_RECORD_FILE_FULL= 135, /* No more room in file */
73
HA_ERR_INDEX_FILE_FULL= 136, /* No more room in file */
74
HA_ERR_END_OF_FILE= 137, /* end in next/prev/first/last */
75
HA_ERR_UNSUPPORTED= 138, /* unsupported extension used */
76
HA_ERR_TO_BIG_ROW= 139, /* Too big row */
77
HA_WRONG_CREATE_OPTION= 140, /* Wrong create option */
78
HA_ERR_FOUND_DUPP_UNIQUE= 141, /* Dupplicate unique on write */
79
HA_ERR_UNKNOWN_CHARSET = 142, /* Can't open charset */
80
HA_ERR_WRONG_MRG_TABLE_DEF= 143, /* conflicting tables in MERGE */
81
HA_ERR_CRASHED_ON_REPAIR=144, /* Last (automatic?) repair failed */
82
HA_ERR_CRASHED_ON_USAGE= 145, /* Table must be repaired */
83
HA_ERR_LOCK_WAIT_TIMEOUT= 146,
84
HA_ERR_LOCK_TABLE_FULL= 147,
85
HA_ERR_READ_ONLY_TRANSACTION= 148, /* Updates not allowed */
86
HA_ERR_LOCK_DEADLOCK = 149,
87
HA_ERR_CANNOT_ADD_FOREIGN= 150, /* Cannot add a foreign key constr. */
88
HA_ERR_NO_REFERENCED_ROW= 151, /* Cannot add a child row */
89
HA_ERR_ROW_IS_REFERENCED= 152, /* Cannot delete a parent row */
90
HA_ERR_NO_SAVEPOINT= 153, /* No savepoint with that name */
91
HA_ERR_NON_UNIQUE_BLOCK_SIZE= 154, /* Non unique key block size */
92
HA_ERR_NO_SUCH_TABLE= 155, /* The table does not exist in engine */
93
HA_ERR_TABLE_EXIST= 156, /* The table existed in storage engine */
94
HA_ERR_NO_CONNECTION= 157, /* Could not connect to storage engine */
95
HA_ERR_NULL_IN_SPATIAL= 158, /* NULLs are not supported in spatial index */
96
HA_ERR_TABLE_DEF_CHANGED= 159, /* The table changed in storage engine */
97
HA_ERR_NO_PARTITION_FOUND= 160, /* There's no partition in table for given value */
98
HA_ERR_RBR_LOGGING_FAILED= 161, /* Row-based binlogging of row failed */
99
HA_ERR_DROP_INDEX_FK= 162, /* Index needed in foreign key constr */
100
HA_ERR_FOREIGN_DUPLICATE_KEY= 163, // Upholding foreign key constraints would lead to a duplicate key error
101
HA_ERR_TABLE_NEEDS_UPGRADE= 164, /* The table changed in storage engine */
102
HA_ERR_TABLE_READONLY= 165, /* The table is not writable */
103
HA_ERR_AUTOINC_READ_FAILED= 166, /* Failed to get next autoinc value */
104
HA_ERR_AUTOINC_ERANGE= 167, /* Failed to set row autoinc value */
105
HA_ERR_GENERIC= 168, /* Generic error */
106
HA_ERR_RECORD_IS_THE_SAME= 169, /* row not actually updated: new values same as the old values */
107
HA_ERR_LOGGING_IMPOSSIBLE= 170, /* It is not possible to log this statement */
108
HA_ERR_TABLESPACE_EXIST= 171,
109
HA_ERR_CORRUPT_EVENT= 172, /* The event was corrupt, leading to illegal data being read */
110
HA_ERR_NEW_FILE= 173, /* New file format */
111
HA_ERR_ROWS_EVENT_APPLY= 174, /* The event could not be processed no other hanlder error happened */
112
HA_ERR_INITIALIZATION= 175, /* Error during initialization */
113
HA_ERR_FILE_TOO_SHORT= 176, /* File too short */
114
HA_ERR_WRONG_CRC= 177, /* Wrong CRC on page */
115
HA_ERR_LOCK_OR_ACTIVE_TRANSACTION= 178,
116
HA_ERR_NO_SUCH_TABLESPACE= 179,
117
HA_ERR_TABLESPACE_NOT_EMPTY= 180,
59
119
ER_ERROR_FIRST= 1000,
60
120
ER_UNUSED1000= ER_ERROR_FIRST,