fix bug, drop hash key has not same error code like mysql and oracle

This commit is contained in:
obdev
2023-10-25 06:43:15 +00:00
committed by ob-robot
parent 5586d55073
commit d4730c71fe
5 changed files with 37 additions and 6 deletions

View File

@ -12365,9 +12365,9 @@ static const _error _error_OB_ERR_DEPENDENT_BY_PARTITION_FUNC = {
.sqlstate = "HY000",
.str_error = "Column has a partitioning function dependency and cannot be dropped or renamed.",
.str_user_error = "Column '%.*s' has a partitioning function dependency and cannot be dropped or renamed.",
.oracle_errno = 600,
.oracle_str_error = "ORA-00600: internal error code, arguments: -5502, Column has a partitioning function dependency and cannot be dropped or renamed.",
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5502, Column '%.*s' has a partitioning function dependency and cannot be dropped or renamed."
.oracle_errno = 12984,
.oracle_str_error = "ORA-12984: cannot drop partitioning column",
.oracle_str_user_error = "ORA-12984: cannot drop partitioning column '%.*s'"
};
static const _error _error_OB_ERR_VIEW_SELECT_CONTAIN_INTO = {
.error_name = "OB_ERR_VIEW_SELECT_CONTAIN_INTO",