mirror of
https://github.com/MariaDB/server.git
synced 2025-08-05 13:16:09 +03:00
fix MDEV-27217 (4d5ae2b325
)
Add error from later versions to avoid chaging HA_ERR_* accross versions and in already released versions.
This commit is contained in:
@@ -521,8 +521,9 @@ enum ha_base_keytype {
|
|||||||
#define HA_ERR_TABLESPACE_MISSING 194 /* Missing Tablespace */
|
#define HA_ERR_TABLESPACE_MISSING 194 /* Missing Tablespace */
|
||||||
#define HA_ERR_SEQUENCE_INVALID_DATA 195
|
#define HA_ERR_SEQUENCE_INVALID_DATA 195
|
||||||
#define HA_ERR_SEQUENCE_RUN_OUT 196
|
#define HA_ERR_SEQUENCE_RUN_OUT 196
|
||||||
#define HA_ERR_PARTITION_LIST 197
|
#define HA_ERR_COMMIT_ERROR 197
|
||||||
#define HA_ERR_LAST 197 /* Copy of last error nr * */
|
#define HA_ERR_PARTITION_LIST 198
|
||||||
|
#define HA_ERR_LAST 198 /* Copy of last error nr * */
|
||||||
|
|
||||||
/* Number of different errors */
|
/* Number of different errors */
|
||||||
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)
|
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)
|
||||||
|
@@ -108,6 +108,7 @@ static const char *handler_error_messages[]=
|
|||||||
"Tablespace is missing for a table",
|
"Tablespace is missing for a table",
|
||||||
"Sequence has been run out",
|
"Sequence has been run out",
|
||||||
"Sequence values are conflicting",
|
"Sequence values are conflicting",
|
||||||
|
"Error during commit",
|
||||||
"Cannot select partitions"
|
"Cannot select partitions"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user