提交 7d5e7ae9 编写于 作者: X xuhuleon 提交者: OB-robot

add error code for OB_ESI_SESSION_NOT_EXIST

上级 3e4a336f
......@@ -19257,6 +19257,18 @@ static const _error _error_OB_EER_WINDOW_NO_REDEFINE_ORDER_BY = {
.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",
.error_solution = "Contact OceanBase Support",
.mysql_errno = -1,
.sqlstate = "HY000",
.str_error = "obesi process session not exist",
.str_user_error = "obesi process session not exist",
.oracle_errno = 600,
.oracle_str_error = "ORA-00600: internal error code, arguments: -9090, obesi process session not exist",
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -9090, obesi process session not exist"
};
static const _error _error_OB_NO_SUCH_FILE_OR_DIRECTORY = {
.error_name = "OB_NO_SUCH_FILE_OR_DIRECTORY",
.error_cause = "Internal Error",
......@@ -23579,6 +23591,7 @@ struct ObStrErrorInit
_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;
_errors[-OB_FILE_OR_DIRECTORY_PERMISSION_DENIED] = &_error_OB_FILE_OR_DIRECTORY_PERMISSION_DENIED;
......@@ -1684,7 +1684,7 @@ DEFINE_ERROR(OB_PACKET_CHECKSUM_ERROR, -8003, -1, "08004", "Packet checksum erro
DEFINE_ERROR_DEP(OB_PACKET_CLUSTER_ID_NOT_MATCH, -8004, -1, "08004", "Packet cluster_id not match");
////////////////////////////////////////////////////////////////
// backup and restore error codes
// backup and restore error codes 9000 - 9099
////////////////////////////////////////////////////////////////
DEFINE_ERROR_DEP(OB_URI_ERROR, -9001, -1, "HY000", "URI error");
DEFINE_ERROR_DEP(OB_FINAL_MD5_ERROR, -9002, -1, "HY000", "OSS file MD5 error");
......@@ -1778,6 +1778,9 @@ DEFINE_ERROR_EXT(OB_EER_WINDOW_NO_CHILD_PARTITIONING, -9087, ER_WINDOW_NO_CHILD_
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
////////////////////////////////////////////////////////////////
//error code for STORAGE3.0 -9100 ~
////////////////////////////////////////////////////////////////
......
......@@ -1372,6 +1372,7 @@ 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;
constexpr int OB_FILE_OR_DIRECTORY_PERMISSION_DENIED = -9102;
......@@ -3203,6 +3204,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#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"
#define OB_FILE_OR_DIRECTORY_PERMISSION_DENIED__USER_ERROR_MSG "file or directory permission denied"
......@@ -5035,6 +5037,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#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"
#define OB_FILE_OR_DIRECTORY_PERMISSION_DENIED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9102, file or directory permission denied"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册