diff --git a/src/share/ob_errno.cpp b/src/share/ob_errno.cpp index c7a877bff5..908170ebd0 100644 --- a/src/share/ob_errno.cpp +++ b/src/share/ob_errno.cpp @@ -13325,9 +13325,9 @@ static const _error _error_OB_ERR_SPLIT_LIST_LESS_VALUE = { .sqlstate = "HY000", .str_error = "last resulting partition cannot contain bounds", .str_user_error = "last resulting partition cannot contain bounds", - .oracle_errno = 600, - .oracle_str_error = "ORA-00600: internal error code, arguments: -5597, last resulting partition cannot contain bounds", - .oracle_str_user_error = "ORA-00600: internal error code, arguments: -5597, last resulting partition cannot contain bounds" + .oracle_errno = 14805, + .oracle_str_error = "ORA-14805: last resulting partition cannot contain bounds", + .oracle_str_user_error = "ORA-14805: last resulting partition cannot contain bounds" }; static const _error _error_OB_ERR_ADD_PARTITION_TO_DEFAULT_LIST = { .error_name = "OB_ERR_ADD_PARTITION_TO_DEFAULT_LIST", diff --git a/src/share/ob_errno.def b/src/share/ob_errno.def index fd92e83b80..5fd31ef936 100755 --- a/src/share/ob_errno.def +++ b/src/share/ob_errno.def @@ -1275,7 +1275,7 @@ DEFINE_ERROR_EXT(OB_ER_SP_LILABEL_MISMATCH, -5593, ER_SP_LILABEL_MISMATCH, "4200 DEFINE_ERROR_EXT(OB_ERR_TRUNCATE_ILLEGAL_FK, -5594, ER_TRUNCATE_ILLEGAL_FK, "42000", "Cannot truncate a table referenced in a foreign key constraint", "Cannot truncate a table referenced in a foreign key constraint %.*s"); DEFINE_ORACLE_ERROR_EXT(OB_ERR_DUP_KEY, -5595, ER_DUP_KEY, "23000", "Can't write; duplicate key in table", "Can't write; duplicate key in table \'%.*s\'", 1, "unique constraint violated", "unique constraint (%.*s) violated"); DEFINE_ERROR(OB_ER_INVALID_USE_OF_NULL, -5596, ER_INVALID_USE_OF_NULL, "22004", "Invalid use of NULL value"); -DEFINE_ERROR(OB_ERR_SPLIT_LIST_LESS_VALUE, -5597, -1, "HY000", "last resulting partition cannot contain bounds"); +DEFINE_ORACLE_ERROR(OB_ERR_SPLIT_LIST_LESS_VALUE, -5597, -1, "HY000", "last resulting partition cannot contain bounds", 14805, "last resulting partition cannot contain bounds"); DEFINE_ERROR(OB_ERR_ADD_PARTITION_TO_DEFAULT_LIST, -5598, -1, "HY000", "cannot add partition when DEFAULT partition exists"); DEFINE_ERROR(OB_ERR_SPLIT_INTO_ONE_PARTITION, -5599, -1, "HY000", "cannot split partition into one partition, use rename instead"); DEFINE_ERROR_EXT(OB_ERR_NO_TENANT_PRIVILEGE, -5600, -1, "HY000", "can not create user in sys tenant", "can not create user %s in sys tenant, name %.*s"); diff --git a/src/share/ob_errno.h b/src/share/ob_errno.h index 2f35691b77..ba97f335ce 100644 --- a/src/share/ob_errno.h +++ b/src/share/ob_errno.h @@ -5202,7 +5202,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219; #define OB_ERR_TRUNCATE_ILLEGAL_FK__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5594, Cannot truncate a table referenced in a foreign key constraint %.*s" #define OB_ERR_DUP_KEY__ORA_USER_ERROR_MSG "ORA-00001: unique constraint (%.*s) violated" #define OB_ER_INVALID_USE_OF_NULL__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5596, Invalid use of NULL value" -#define OB_ERR_SPLIT_LIST_LESS_VALUE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5597, last resulting partition cannot contain bounds" +#define OB_ERR_SPLIT_LIST_LESS_VALUE__ORA_USER_ERROR_MSG "ORA-14805: last resulting partition cannot contain bounds" #define OB_ERR_ADD_PARTITION_TO_DEFAULT_LIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5598, cannot add partition when DEFAULT partition exists" #define OB_ERR_SPLIT_INTO_ONE_PARTITION__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5599, cannot split partition into one partition, use rename instead" #define OB_ERR_NO_TENANT_PRIVILEGE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5600, can not create user %s in sys tenant, name %.*s"