Change named window function error code
This commit is contained in:
parent
266a5e47e4
commit
5784351a1c
@ -11061,6 +11061,42 @@ static const _error _error_OB_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP = {
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -5437, Invalid argument for scn_to_timestamp()",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5437, SCN_TO_TIMESTAMP expected a interger number as nsec argument"
|
||||
};
|
||||
static const _error _error_OB_EER_WINDOW_NO_CHILD_PARTITIONING = {
|
||||
.error_name = "OB_EER_WINDOW_NO_CHILD_PARTITIONING",
|
||||
.error_cause = "Internal Error",
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = ER_WINDOW_NO_CHILD_PARTITIONING,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "Named window cann't be modified by another partitioning property",
|
||||
.str_user_error = "A window which depends on another cannot define partitioning",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -5438, Named window cann't be modified by another partitioning property",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5438, A window which depends on another cannot define partitioning"
|
||||
};
|
||||
static const _error _error_OB_EER_WINDOW_NO_INHERIT_FRAME = {
|
||||
.error_name = "OB_EER_WINDOW_NO_INHERIT_FRAME",
|
||||
.error_cause = "Internal Error",
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = ER_WINDOW_NO_INHERIT_FRAME,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "Named window cann't be modified by another framing property",
|
||||
.str_user_error = "Window '%.*s' has a frame definition, so cannot be referenced by another window",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -5439, Named window cann't be modified by another framing property",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5439, Window '%.*s' has a frame definition, so cannot be referenced by another window"
|
||||
};
|
||||
static const _error _error_OB_EER_WINDOW_NO_REDEFINE_ORDER_BY = {
|
||||
.error_name = "OB_EER_WINDOW_NO_REDEFINE_ORDER_BY",
|
||||
.error_cause = "Internal Error",
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = ER_WINDOW_NO_REDEFINE_ORDER_BY,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "Named window cann't be modified by another ordering property",
|
||||
.str_user_error = "Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -5440, Named window cann't be modified by another ordering property",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5440, Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause"
|
||||
};
|
||||
static const _error _error_OB_ERR_SP_ALREADY_EXISTS = {
|
||||
.error_name = "OB_ERR_SP_ALREADY_EXISTS",
|
||||
.error_cause = "Internal Error",
|
||||
@ -19221,42 +19257,6 @@ static const _error _error_OB_BACKUP_ADVANCE_CHECKPOINT_TIMEOUT = {
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -9086, backup advance checkpoint by flush timeout",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -9086, backup advance checkpoint by flush timeout"
|
||||
};
|
||||
static const _error _error_OB_EER_WINDOW_NO_CHILD_PARTITIONING = {
|
||||
.error_name = "OB_EER_WINDOW_NO_CHILD_PARTITIONING",
|
||||
.error_cause = "Internal Error",
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = ER_WINDOW_NO_CHILD_PARTITIONING,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "Named window cann't be modified by another partitioning property",
|
||||
.str_user_error = "A window which depends on another cannot define partitioning",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -9087, Named window cann't be modified by another partitioning property",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -9087, A window which depends on another cannot define partitioning"
|
||||
};
|
||||
static const _error _error_OB_EER_WINDOW_NO_INHERIT_FRAME = {
|
||||
.error_name = "OB_EER_WINDOW_NO_INHERIT_FRAME",
|
||||
.error_cause = "Internal Error",
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = ER_WINDOW_NO_INHERIT_FRAME,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "Named window cann't be modified by another framing property",
|
||||
.str_user_error = "Window '%.*s' has a frame definition, so cannot be referenced by another window",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -9088, Named window cann't be modified by another framing property",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -9088, Window '%.*s' has a frame definition, so cannot be referenced by another window"
|
||||
};
|
||||
static const _error _error_OB_EER_WINDOW_NO_REDEFINE_ORDER_BY = {
|
||||
.error_name = "OB_EER_WINDOW_NO_REDEFINE_ORDER_BY",
|
||||
.error_cause = "Internal Error",
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = ER_WINDOW_NO_REDEFINE_ORDER_BY,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "Named window cann't be modified by another ordering property",
|
||||
.str_user_error = "Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -9089, Named window cann't be modified by another ordering property",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -9089, Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause"
|
||||
};
|
||||
static const _error _error_OB_ESI_SESSION_NOT_EXIST = {
|
||||
.error_name = "OB_ESI_SESSION_NOT_EXIST",
|
||||
.error_cause = "Internal Error",
|
||||
@ -22908,6 +22908,9 @@ struct ObStrErrorInit
|
||||
_errors[-OB_OUTLINE_NOT_REPRODUCIBLE] = &_error_OB_OUTLINE_NOT_REPRODUCIBLE;
|
||||
_errors[-OB_INVALID_ARGUMENT_FOR_TIMESTAMP_TO_SCN] = &_error_OB_INVALID_ARGUMENT_FOR_TIMESTAMP_TO_SCN;
|
||||
_errors[-OB_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP] = &_error_OB_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP;
|
||||
_errors[-OB_EER_WINDOW_NO_CHILD_PARTITIONING] = &_error_OB_EER_WINDOW_NO_CHILD_PARTITIONING;
|
||||
_errors[-OB_EER_WINDOW_NO_INHERIT_FRAME] = &_error_OB_EER_WINDOW_NO_INHERIT_FRAME;
|
||||
_errors[-OB_EER_WINDOW_NO_REDEFINE_ORDER_BY] = &_error_OB_EER_WINDOW_NO_REDEFINE_ORDER_BY;
|
||||
_errors[-OB_ERR_SP_ALREADY_EXISTS] = &_error_OB_ERR_SP_ALREADY_EXISTS;
|
||||
_errors[-OB_ERR_SP_DOES_NOT_EXIST] = &_error_OB_ERR_SP_DOES_NOT_EXIST;
|
||||
_errors[-OB_ERR_SP_UNDECLARED_VAR] = &_error_OB_ERR_SP_UNDECLARED_VAR;
|
||||
@ -23588,9 +23591,6 @@ struct ObStrErrorInit
|
||||
_errors[-OB_BACKUP_PWRITE_CONTENT_NOT_MATCH] = &_error_OB_BACKUP_PWRITE_CONTENT_NOT_MATCH;
|
||||
_errors[-OB_BACKUP_MAJOR_NOT_COVER_MINOR] = &_error_OB_BACKUP_MAJOR_NOT_COVER_MINOR;
|
||||
_errors[-OB_BACKUP_ADVANCE_CHECKPOINT_TIMEOUT] = &_error_OB_BACKUP_ADVANCE_CHECKPOINT_TIMEOUT;
|
||||
_errors[-OB_EER_WINDOW_NO_CHILD_PARTITIONING] = &_error_OB_EER_WINDOW_NO_CHILD_PARTITIONING;
|
||||
_errors[-OB_EER_WINDOW_NO_INHERIT_FRAME] = &_error_OB_EER_WINDOW_NO_INHERIT_FRAME;
|
||||
_errors[-OB_EER_WINDOW_NO_REDEFINE_ORDER_BY] = &_error_OB_EER_WINDOW_NO_REDEFINE_ORDER_BY;
|
||||
_errors[-OB_ESI_SESSION_NOT_EXIST] = &_error_OB_ESI_SESSION_NOT_EXIST;
|
||||
_errors[-OB_NO_SUCH_FILE_OR_DIRECTORY] = &_error_OB_NO_SUCH_FILE_OR_DIRECTORY;
|
||||
_errors[-OB_FILE_OR_DIRECTORY_EXIST] = &_error_OB_FILE_OR_DIRECTORY_EXIST;
|
||||
|
@ -1029,8 +1029,9 @@ DEFINE_ERROR(OB_SQL_RETRY_SPM, -5434, -1, "HY000", "retry sql due to spm");
|
||||
DEFINE_ERROR(OB_OUTLINE_NOT_REPRODUCIBLE, -5435, -1, "HY000", "outline not reproducible");
|
||||
DEFINE_ERROR_EXT_DEP(OB_INVALID_ARGUMENT_FOR_TIMESTAMP_TO_SCN, -5436, -1, "42000", "Invalid argument for timestamp_to_scn()", " TIMESTAMP_TO_SCN expected timestamp argument");
|
||||
DEFINE_ERROR_EXT_DEP(OB_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP, -5437, -1, "42000", "Invalid argument for scn_to_timestamp()", "SCN_TO_TIMESTAMP expected a interger number as nsec argument");
|
||||
|
||||
|
||||
DEFINE_ERROR_EXT(OB_EER_WINDOW_NO_CHILD_PARTITIONING, -5438, ER_WINDOW_NO_CHILD_PARTITIONING, "HY000", "Named window cann't be modified by another partitioning property", "A window which depends on another cannot define partitioning");
|
||||
DEFINE_ERROR_EXT(OB_EER_WINDOW_NO_INHERIT_FRAME, -5439, ER_WINDOW_NO_INHERIT_FRAME, "HY000", "Named window cann't be modified by another framing property", "Window '%.*s' has a frame definition, so cannot be referenced by another window");
|
||||
DEFINE_ERROR_EXT(OB_EER_WINDOW_NO_REDEFINE_ORDER_BY, -5440, ER_WINDOW_NO_REDEFINE_ORDER_BY, "HY000", "Named window cann't be modified by another ordering property", "Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause");
|
||||
DEFINE_ERROR_EXT(OB_ERR_SP_ALREADY_EXISTS, -5541, ER_SP_ALREADY_EXISTS, "42000", "procedure/function already exists", "%s %.*s already exists");
|
||||
DEFINE_ERROR_EXT(OB_ERR_SP_DOES_NOT_EXIST, -5542, ER_SP_DOES_NOT_EXIST, "42000", "procedure/function does not exist", "%s %.*s.%.*s does not exist");
|
||||
DEFINE_PLS_ERROR_EXT(OB_ERR_SP_UNDECLARED_VAR, -5543, ER_SP_UNDECLARED_VAR, "42000", "Undeclared variable", "Undeclared variable: %.*s", 201, "identifier must be declared", "identifier '%.*s' must be declared");
|
||||
@ -1774,9 +1775,6 @@ DEFINE_ERROR_DEP(OB_BACKUP_PWRITE_CONTENT_NOT_MATCH, -9084, -1, "HY000", "the co
|
||||
DEFINE_ERROR(OB_BACKUP_MAJOR_NOT_COVER_MINOR, -9085, -1, "HY000", "backup major sstable range not cover minor sstable");
|
||||
DEFINE_ERROR(OB_BACKUP_ADVANCE_CHECKPOINT_TIMEOUT, -9086, -1, "HY000", "backup advance checkpoint by flush timeout");
|
||||
|
||||
DEFINE_ERROR_EXT(OB_EER_WINDOW_NO_CHILD_PARTITIONING, -9087, ER_WINDOW_NO_CHILD_PARTITIONING, "HY000", "Named window cann't be modified by another partitioning property", "A window which depends on another cannot define partitioning");
|
||||
DEFINE_ERROR_EXT(OB_EER_WINDOW_NO_INHERIT_FRAME, -9088, ER_WINDOW_NO_INHERIT_FRAME, "HY000", "Named window cann't be modified by another framing property", "Window '%.*s' has a frame definition, so cannot be referenced by another window");
|
||||
DEFINE_ERROR_EXT(OB_EER_WINDOW_NO_REDEFINE_ORDER_BY, -9089, ER_WINDOW_NO_REDEFINE_ORDER_BY, "HY000", "Named window cann't be modified by another ordering property", "Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause");
|
||||
|
||||
DEFINE_ERROR(OB_ESI_SESSION_NOT_EXIST, -9090, -1, "HY000", "obesi process session not exist");
|
||||
// end of backup and restore error codes 9001 ~ 9099
|
||||
|
@ -766,6 +766,9 @@ constexpr int OB_DDL_SCHEMA_VERSION_NOT_MATCH = -5403;
|
||||
constexpr int OB_ERR_COLUMN_GROUP_DUPLICATE = -5404;
|
||||
constexpr int OB_SQL_RETRY_SPM = -5434;
|
||||
constexpr int OB_OUTLINE_NOT_REPRODUCIBLE = -5435;
|
||||
constexpr int OB_EER_WINDOW_NO_CHILD_PARTITIONING = -5438;
|
||||
constexpr int OB_EER_WINDOW_NO_INHERIT_FRAME = -5439;
|
||||
constexpr int OB_EER_WINDOW_NO_REDEFINE_ORDER_BY = -5440;
|
||||
constexpr int OB_ERR_SP_ALREADY_EXISTS = -5541;
|
||||
constexpr int OB_ERR_SP_DOES_NOT_EXIST = -5542;
|
||||
constexpr int OB_ERR_SP_UNDECLARED_VAR = -5543;
|
||||
@ -1369,9 +1372,6 @@ constexpr int OB_BACKUP_FORMAT_FILE_NOT_EXIST = -9080;
|
||||
constexpr int OB_BACKUP_FORMAT_FILE_NOT_MATCH = -9081;
|
||||
constexpr int OB_BACKUP_MAJOR_NOT_COVER_MINOR = -9085;
|
||||
constexpr int OB_BACKUP_ADVANCE_CHECKPOINT_TIMEOUT = -9086;
|
||||
constexpr int OB_EER_WINDOW_NO_CHILD_PARTITIONING = -9087;
|
||||
constexpr int OB_EER_WINDOW_NO_INHERIT_FRAME = -9088;
|
||||
constexpr int OB_EER_WINDOW_NO_REDEFINE_ORDER_BY = -9089;
|
||||
constexpr int OB_ESI_SESSION_NOT_EXIST = -9090;
|
||||
constexpr int OB_NO_SUCH_FILE_OR_DIRECTORY = -9100;
|
||||
constexpr int OB_FILE_OR_DIRECTORY_EXIST = -9101;
|
||||
@ -2521,6 +2521,9 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_OUTLINE_NOT_REPRODUCIBLE__USER_ERROR_MSG "outline not reproducible"
|
||||
#define OB_INVALID_ARGUMENT_FOR_TIMESTAMP_TO_SCN__USER_ERROR_MSG " TIMESTAMP_TO_SCN expected timestamp argument"
|
||||
#define OB_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP__USER_ERROR_MSG "SCN_TO_TIMESTAMP expected a interger number as nsec argument"
|
||||
#define OB_EER_WINDOW_NO_CHILD_PARTITIONING__USER_ERROR_MSG "A window which depends on another cannot define partitioning"
|
||||
#define OB_EER_WINDOW_NO_INHERIT_FRAME__USER_ERROR_MSG "Window '%.*s' has a frame definition, so cannot be referenced by another window"
|
||||
#define OB_EER_WINDOW_NO_REDEFINE_ORDER_BY__USER_ERROR_MSG "Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause"
|
||||
#define OB_ERR_SP_ALREADY_EXISTS__USER_ERROR_MSG "%s %.*s already exists"
|
||||
#define OB_ERR_SP_DOES_NOT_EXIST__USER_ERROR_MSG "%s %.*s.%.*s does not exist"
|
||||
#define OB_ERR_SP_UNDECLARED_VAR__USER_ERROR_MSG "Undeclared variable: %.*s"
|
||||
@ -3201,9 +3204,6 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_BACKUP_PWRITE_CONTENT_NOT_MATCH__USER_ERROR_MSG "the contents of pwrite are inconsistent"
|
||||
#define OB_BACKUP_MAJOR_NOT_COVER_MINOR__USER_ERROR_MSG "backup major sstable range not cover minor sstable"
|
||||
#define OB_BACKUP_ADVANCE_CHECKPOINT_TIMEOUT__USER_ERROR_MSG "backup advance checkpoint by flush timeout"
|
||||
#define OB_EER_WINDOW_NO_CHILD_PARTITIONING__USER_ERROR_MSG "A window which depends on another cannot define partitioning"
|
||||
#define OB_EER_WINDOW_NO_INHERIT_FRAME__USER_ERROR_MSG "Window '%.*s' has a frame definition, so cannot be referenced by another window"
|
||||
#define OB_EER_WINDOW_NO_REDEFINE_ORDER_BY__USER_ERROR_MSG "Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause"
|
||||
#define OB_ESI_SESSION_NOT_EXIST__USER_ERROR_MSG "obesi process session not exist"
|
||||
#define OB_NO_SUCH_FILE_OR_DIRECTORY__USER_ERROR_MSG "no such file or directory"
|
||||
#define OB_FILE_OR_DIRECTORY_EXIST__USER_ERROR_MSG "file or directory already exist"
|
||||
@ -4354,6 +4354,9 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_OUTLINE_NOT_REPRODUCIBLE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5435, outline not reproducible"
|
||||
#define OB_INVALID_ARGUMENT_FOR_TIMESTAMP_TO_SCN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5436, TIMESTAMP_TO_SCN expected timestamp argument"
|
||||
#define OB_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5437, SCN_TO_TIMESTAMP expected a interger number as nsec argument"
|
||||
#define OB_EER_WINDOW_NO_CHILD_PARTITIONING__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5438, A window which depends on another cannot define partitioning"
|
||||
#define OB_EER_WINDOW_NO_INHERIT_FRAME__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5439, Window '%.*s' has a frame definition, so cannot be referenced by another window"
|
||||
#define OB_EER_WINDOW_NO_REDEFINE_ORDER_BY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5440, Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause"
|
||||
#define OB_ERR_SP_ALREADY_EXISTS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5541, %s %.*s already exists"
|
||||
#define OB_ERR_SP_DOES_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5542, %s %.*s.%.*s does not exist"
|
||||
#define OB_ERR_SP_UNDECLARED_VAR__ORA_USER_ERROR_MSG "PLS-00201: identifier '%.*s' must be declared"
|
||||
@ -5034,9 +5037,6 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_BACKUP_PWRITE_CONTENT_NOT_MATCH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9084, the contents of pwrite are inconsistent"
|
||||
#define OB_BACKUP_MAJOR_NOT_COVER_MINOR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9085, backup major sstable range not cover minor sstable"
|
||||
#define OB_BACKUP_ADVANCE_CHECKPOINT_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9086, backup advance checkpoint by flush timeout"
|
||||
#define OB_EER_WINDOW_NO_CHILD_PARTITIONING__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9087, A window which depends on another cannot define partitioning"
|
||||
#define OB_EER_WINDOW_NO_INHERIT_FRAME__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9088, Window '%.*s' has a frame definition, so cannot be referenced by another window"
|
||||
#define OB_EER_WINDOW_NO_REDEFINE_ORDER_BY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9089, Window '%.*s' cannot inherit '%.*s' since both contain an ORDER BY clause"
|
||||
#define OB_ESI_SESSION_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9090, obesi process session not exist"
|
||||
#define OB_NO_SUCH_FILE_OR_DIRECTORY__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9100, no such file or directory"
|
||||
#define OB_FILE_OR_DIRECTORY_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9101, file or directory already exist"
|
||||
|
Loading…
x
Reference in New Issue
Block a user