From d7f8a441ddf54d26385e84d56333c2978c3a7524 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Wed, 25 May 2022 18:30:18 +0200 Subject: [PATCH] update server error messages (mysqld_error.h) --- include/mysqld_error.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/include/mysqld_error.h b/include/mysqld_error.h index f3c8a8b4..13365437 100644 --- a/include/mysqld_error.h +++ b/include/mysqld_error.h @@ -74,7 +74,7 @@ #define ER_TOO_MANY_KEYS 1069 #define ER_TOO_MANY_KEY_PARTS 1070 #define ER_TOO_LONG_KEY 1071 -#define ER_KEY_COLUMN_DOES_NOT_EXITS 1072 +#define ER_KEY_COLUMN_DOES_NOT_EXIST 1072 #define ER_BLOB_USED_AS_KEY 1073 #define ER_TOO_BIG_FIELDLENGTH 1074 #define ER_WRONG_AUTO_KEY 1075 @@ -509,7 +509,7 @@ #define ER_NO_PARTS_ERROR 1504 #define ER_PARTITION_MGMT_ON_NONPARTITIONED 1505 #define ER_FEATURE_NOT_SUPPORTED_WITH_PARTITIONING 1506 -#define ER_DROP_PARTITION_NON_EXISTENT 1507 +#define ER_PARTITION_DOES_NOT_EXIST 1507 #define ER_DROP_LAST_PARTITION 1508 #define ER_COALESCE_ONLY_ON_HASH_PARTITION 1509 #define ER_REORG_HASH_ONLY_ON_SAME_NO 1510 @@ -728,7 +728,7 @@ #define ER_BINLOG_UNSAFE_CREATE_SELECT_AUTOINC 1723 #define ER_BINLOG_UNSAFE_INSERT_TWO_KEYS 1724 #define ER_UNUSED_28 1725 -#define ER_UNUSED_1 1726 +#define ER_VERS_NOT_ALLOWED 1726 #define ER_BINLOG_UNSAFE_AUTOINC_NOT_FIRST 1727 #define ER_CANNOT_LOAD_FROM_TABLE_V2 1728 #define ER_MASTER_DELAY_VALUE_OUT_OF_RANGE 1729 @@ -1230,5 +1230,11 @@ #define ER_WITH_TIES_NEEDS_ORDER 4180 #define ER_REMOVED_ORPHAN_TRIGGER 4181 #define ER_STORAGE_ENGINE_DISABLED 4182 -#define ER_ERROR_LAST 4182 +#define WARN_SFORMAT_ERROR 4183 +#define ER_PARTITION_CONVERT_SUBPARTITIONED 4184 +#define ER_PROVIDER_NOT_LOADED 4185 +#define ER_JSON_HISTOGRAM_PARSE_FAILED 4186 +#define ER_SF_OUT_INOUT_ARG_NOT_ALLOWED 4187 +#define ER_INCONSISTENT_SLAVE_TEMP_TABLE 4188 +#define ER_ERROR_LAST 4188 #endif /* ER_ERROR_FIRST */