diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2022-01-30 17:52:15 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2022-01-30 17:52:15 +0100 |
commit | ca41fdba221a859dce7bd21a3cc7c57d76bbd4f1 (patch) | |
tree | 83d62751dc8df22cb8d2798d70b5e422d1631095 /include/my_base.h | |
parent | a576a1cea5b0f06fb8fff0fbdb9035d89510b83a (diff) | |
download | mariadb-git-ca41fdba221a859dce7bd21a3cc7c57d76bbd4f1.tar.gz |
fix MDEV-27217 (4d5ae2b3258d0d4eb3addd61fdabf49d9a6314e7)
Add error from later versions to avoid chaging HA_ERR_*
accross versions and in already released versions.
Diffstat (limited to 'include/my_base.h')
-rw-r--r-- | include/my_base.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/my_base.h b/include/my_base.h index dab357f45a4..7016766ce58 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -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) |