未验证 提交 06e11981 编写于 作者: S stutiredboy 提交者: GitHub

bug(): typo fixed for compiling error (#104)

上级 1be51377
......@@ -2680,15 +2680,15 @@ static struct ObStrErrorInit {
ORACLE_ERRNO[-OB_OPEN_TWICE] = 600;
ORACLE_STR_ERROR[-OB_OPEN_TWICE] = "ORA-00600: internal error code, arguments: -4338, open twice";
ORACLE_STR_USER_ERROR[-OB_OPEN_TWICE] = "ORA-00600: internal error code, arguments: -4338, open twice";
ERROR_NAME[-OB_RAID_SUPER_BLOCK_NOT_MACTH] = "OB_RAID_SUPER_BLOCK_NOT_MACTH";
MYSQL_ERRNO[-OB_RAID_SUPER_BLOCK_NOT_MACTH] = -1;
SQLSTATE[-OB_RAID_SUPER_BLOCK_NOT_MACTH] = "HY000";
STR_ERROR[-OB_RAID_SUPER_BLOCK_NOT_MACTH] = "raid super block not match";
STR_USER_ERROR[-OB_RAID_SUPER_BLOCK_NOT_MACTH] = "raid super block not match";
ORACLE_ERRNO[-OB_RAID_SUPER_BLOCK_NOT_MACTH] = 600;
ORACLE_STR_ERROR[-OB_RAID_SUPER_BLOCK_NOT_MACTH] =
ERROR_NAME[-OB_RAID_SUPER_BLOCK_NOT_MATCH] = "OB_RAID_SUPER_BLOCK_NOT_MATCH";
MYSQL_ERRNO[-OB_RAID_SUPER_BLOCK_NOT_MATCH] = -1;
SQLSTATE[-OB_RAID_SUPER_BLOCK_NOT_MATCH] = "HY000";
STR_ERROR[-OB_RAID_SUPER_BLOCK_NOT_MATCH] = "raid super block not match";
STR_USER_ERROR[-OB_RAID_SUPER_BLOCK_NOT_MATCH] = "raid super block not match";
ORACLE_ERRNO[-OB_RAID_SUPER_BLOCK_NOT_MATCH] = 600;
ORACLE_STR_ERROR[-OB_RAID_SUPER_BLOCK_NOT_MATCH] =
"ORA-00600: internal error code, arguments: -4339, raid super block not match";
ORACLE_STR_USER_ERROR[-OB_RAID_SUPER_BLOCK_NOT_MACTH] =
ORACLE_STR_USER_ERROR[-OB_RAID_SUPER_BLOCK_NOT_MATCH] =
"ORA-00600: internal error code, arguments: -4339, raid super block not match";
ERROR_NAME[-OB_NOT_OPEN] = "OB_NOT_OPEN";
MYSQL_ERRNO[-OB_NOT_OPEN] = -1;
......
......@@ -382,7 +382,7 @@ DEFINE_ORACLE_ERROR(OB_ERR_DIVISOR_IS_ZERO, -4333,-1, "HY000", "divisor is equal
DEFINE_ERROR(OB_ERR_AES_IV_LENGTH, -4336, ER_AES_INVALID_IV, "HY000", "The initialization vector supplied to aes_encrypt is too short. Must be at least 16 bytes long");
DEFINE_ERROR(OB_STORE_DIR_ERROR, -4337, -1, "HY000", "store directory structure error");
DEFINE_ERROR(OB_OPEN_TWICE, -4338, -1, "HY000", "open twice");
DEFINE_ERROR(OB_RAID_SUPER_BLOCK_NOT_MACTH, -4339, -1, "HY000", "raid super block not match");
DEFINE_ERROR(OB_RAID_SUPER_BLOCK_NOT_MATCH, -4339, -1, "HY000", "raid super block not match");
DEFINE_ERROR(OB_NOT_OPEN, -4340, -1, "HY000", "not opened");
DEFINE_ERROR(OB_NOT_IN_SERVICE, -4341, -1, "HY000", "target module is not in service");
DEFINE_ERROR(OB_RAID_DISK_NOT_NORMAL, -4342, -1, "HY000", "raid disk not in normal status");
......
......@@ -203,7 +203,7 @@ constexpr int OB_ERR_DIVISOR_IS_ZERO = -4333;
constexpr int OB_ERR_AES_IV_LENGTH = -4336;
constexpr int OB_STORE_DIR_ERROR = -4337;
constexpr int OB_OPEN_TWICE = -4338;
constexpr int OB_RAID_SUPER_BLOCK_NOT_MACTH = -4339;
constexpr int OB_RAID_SUPER_BLOCK_NOT_MATCH = -4339;
constexpr int OB_NOT_OPEN = -4340;
constexpr int OB_NOT_IN_SERVICE = -4341;
constexpr int OB_RAID_DISK_NOT_NORMAL = -4342;
......@@ -1526,7 +1526,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
"The initialization vector supplied to aes_encrypt is too short. Must be at least 16 bytes long"
#define OB_STORE_DIR_ERROR__USER_ERROR_MSG "store directory structure error"
#define OB_OPEN_TWICE__USER_ERROR_MSG "open twice"
#define OB_RAID_SUPER_BLOCK_NOT_MACTH__USER_ERROR_MSG "raid super block not match"
#define OB_RAID_SUPER_BLOCK_NOT_MATCH__USER_ERROR_MSG "raid super block not match"
#define OB_NOT_OPEN__USER_ERROR_MSG "not opened"
#define OB_NOT_IN_SERVICE__USER_ERROR_MSG "target module is not in service"
#define OB_RAID_DISK_NOT_NORMAL__USER_ERROR_MSG "raid disk not in normal status"
......@@ -3255,7 +3255,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
#define OB_STORE_DIR_ERROR__ORA_USER_ERROR_MSG \
"ORA-00600: internal error code, arguments: -4337, store directory structure error"
#define OB_OPEN_TWICE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4338, open twice"
#define OB_RAID_SUPER_BLOCK_NOT_MACTH__ORA_USER_ERROR_MSG \
#define OB_RAID_SUPER_BLOCK_NOT_MATCH__ORA_USER_ERROR_MSG \
"ORA-00600: internal error code, arguments: -4339, raid super block not match"
#define OB_NOT_OPEN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4340, not opened"
#define OB_NOT_IN_SERVICE__ORA_USER_ERROR_MSG \
......
......@@ -1395,7 +1395,7 @@ struct ObMacroBlockMarkerStatus {
TO_STRING_KV(K_(total_block_count), K_(reserved_block_count), K_(macro_meta_block_count),
K_(partition_meta_block_count), K_(data_block_count), K_(lob_data_block_count), K_(second_index_count),
K_(lob_second_index_count), K_(bloomfiter_count), K_(hold_count), K_(pending_free_count), K_(free_count),
K_(lob_second_index_count), K_(bloomfilter_count), K_(hold_count), K_(pending_free_count), K_(free_count),
K_(mark_cost_time), K_(sweep_cost_time), K_(hold_alert_time), K_(hold_info));
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册