Commit ca41fdba authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

fix MDEV-27217 (4d5ae2b3)

Add error from later versions to avoid chaging HA_ERR_*
accross versions and in already released versions.
parent a576a1ce
......@@ -521,8 +521,9 @@ enum ha_base_keytype {
#define HA_ERR_TABLESPACE_MISSING 194 /* Missing Tablespace */
#define HA_ERR_SEQUENCE_INVALID_DATA 195
#define HA_ERR_SEQUENCE_RUN_OUT 196
#define HA_ERR_PARTITION_LIST 197
#define HA_ERR_LAST 197 /* Copy of last error nr * */
#define HA_ERR_COMMIT_ERROR 197
#define HA_ERR_PARTITION_LIST 198
#define HA_ERR_LAST 198 /* Copy of last error nr * */
/* Number of different errors */
#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",
"Sequence has been run out",
"Sequence values are conflicting",
"Error during commit",
"Cannot select partitions"
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment