fix some spelling errors.
This commit is contained in:
parent
4c8bf212ae
commit
e00206d7b9
@ -2655,11 +2655,11 @@ static const _error _error_OB_TRACE_DESC_NOT_EXIST = {
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "trace log title or key not exist describle",
|
||||
.str_user_error = "trace log title or key not exist describle",
|
||||
.str_error = "trace log title or key not exist describe",
|
||||
.str_user_error = "trace log title or key not exist describe",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4255, trace log title or key not exist describle",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4255, trace log title or key not exist describle"
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4255, trace log title or key not exist describe",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4255, trace log title or key not exist describe"
|
||||
};
|
||||
static const _error _error_OB_ERR_NO_DEFAULT = {
|
||||
.error_name = "OB_ERR_NO_DEFAULT",
|
||||
@ -4227,11 +4227,11 @@ static const _error _error_OB_ERR_TOO_MUCH_TIME = {
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "Porcessing time is too long",
|
||||
.str_user_error = "Porcessing time is too long",
|
||||
.str_error = "Processing time is too long",
|
||||
.str_user_error = "Processing time is too long",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4389, Porcessing time is too long",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4389, Porcessing time is too long"
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4389, Processing time is too long",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4389, Processing time is too long"
|
||||
};
|
||||
static const _error _error_OB_ERR_REMOTE_SCHEMA_NOT_FULL = {
|
||||
.error_name = "OB_ERR_REMOTE_SCHEMA_NOT_FULL",
|
||||
@ -4311,11 +4311,11 @@ static const _error _error_OB_ERR_THREAD_PANIC = {
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "Worker thread pannic, thread may be terminated or hung",
|
||||
.str_user_error = "Worker thread pannic, thread may be terminated or hung",
|
||||
.str_error = "Worker thread panic, thread may be terminated or hung",
|
||||
.str_user_error = "Worker thread panic, thread may be terminated or hung",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4396, Worker thread pannic, thread may be terminated or hung",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4396, Worker thread pannic, thread may be terminated or hung"
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4396, Worker thread panic, thread may be terminated or hung",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4396, Worker thread panic, thread may be terminated or hung"
|
||||
};
|
||||
static const _error _error_OB_ENCODING_EST_SIZE_OVERFLOW = {
|
||||
.error_name = "OB_ENCODING_EST_SIZE_OVERFLOW",
|
||||
@ -5151,11 +5151,11 @@ static const _error _error_OB_DIFFERENT_PRIMARY_ZONE = {
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "table schema primary zone different with other table in sampe tablegroup",
|
||||
.str_user_error = "table schema primary zone different with other table in sampe tablegroup",
|
||||
.str_error = "table schema primary zone different with other table in same tablegroup",
|
||||
.str_user_error = "table schema primary zone different with other table in same tablegroup",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4636, table schema primary zone different with other table in sampe tablegroup",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4636, table schema primary zone different with other table in sampe tablegroup"
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4636, table schema primary zone different with other table in same tablegroup",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4636, table schema primary zone different with other table in same tablegroup"
|
||||
};
|
||||
static const _error _error_OB_SERVER_NOT_ACTIVE = {
|
||||
.error_name = "OB_SERVER_NOT_ACTIVE",
|
||||
@ -6579,11 +6579,11 @@ static const _error _error_OB_ERR_ROOTSERVICE_THREAD_HUNG = {
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "rootservice backgroud thread may be hung",
|
||||
.str_user_error = "rootservice backgroud thread may be hung",
|
||||
.str_error = "rootservice background thread may be hung",
|
||||
.str_user_error = "rootservice background thread may be hung",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4755, rootservice backgroud thread may be hung",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4755, rootservice backgroud thread may be hung"
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -4755, rootservice background thread may be hung",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -4755, rootservice background thread may be hung"
|
||||
};
|
||||
static const _error _error_OB_MIGRATE_NOT_COMPATIBLE = {
|
||||
.error_name = "OB_MIGRATE_NOT_COMPATIBLE",
|
||||
@ -7792,10 +7792,10 @@ static const _error _error_OB_INVALID_ARGUMENT_FOR_USEC_TO_TIME = {
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "42000",
|
||||
.str_error = "Invalid argument for usec_to_time()",
|
||||
.str_user_error = "USEC_TO_TIME expected a interger number as usec argument",
|
||||
.str_user_error = "USEC_TO_TIME expected a integer number as usec argument",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -5111, Invalid argument for usec_to_time()",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5111, USEC_TO_TIME expected a interger number as usec argument"
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5111, USEC_TO_TIME expected a integer number as usec argument"
|
||||
};
|
||||
static const _error _error_OB_ERR_USER_VARIABLE_UNKNOWN = {
|
||||
.error_name = "OB_ERR_USER_VARIABLE_UNKNOWN",
|
||||
@ -11428,10 +11428,10 @@ static const _error _error_OB_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP = {
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "42000",
|
||||
.str_error = "Invalid argument for scn_to_timestamp()",
|
||||
.str_user_error = "SCN_TO_TIMESTAMP expected a interger number as nsec argument",
|
||||
.str_user_error = "SCN_TO_TIMESTAMP expected a integer number as nsec argument",
|
||||
.oracle_errno = 600,
|
||||
.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"
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5437, SCN_TO_TIMESTAMP expected a integer number as nsec argument"
|
||||
};
|
||||
static const _error _error_OB_EER_WINDOW_NO_CHILD_PARTITIONING = {
|
||||
.error_name = "OB_EER_WINDOW_NO_CHILD_PARTITIONING",
|
||||
@ -15726,8 +15726,8 @@ static const _error _error_OB_ERR_LOGIN_DENIED = {
|
||||
.str_error = "invalid username/password; logon denied",
|
||||
.str_user_error = "invalid username/password; logon denied",
|
||||
.oracle_errno = 1017,
|
||||
.oracle_str_error = "ORA-01017: invalid username/password; logon deniedd",
|
||||
.oracle_str_user_error = "ORA-01017: invalid username/password; logon deniedd"
|
||||
.oracle_str_error = "ORA-01017: invalid username/password; logon denied",
|
||||
.oracle_str_user_error = "ORA-01017: invalid username/password; logon denied"
|
||||
};
|
||||
static const _error _error_OB_ERR_NOT_LOGGED_ON = {
|
||||
.error_name = "OB_ERR_NOT_LOGGED_ON",
|
||||
@ -16290,8 +16290,8 @@ static const _error _error_OB_ERR_MISSING_OR_INVALID_PRIVIEGE = {
|
||||
.str_error = "missing or invalid privilege",
|
||||
.str_user_error = "missing or invalid privilege",
|
||||
.oracle_errno = 990,
|
||||
.oracle_str_error = "ORA-00990: missing or invalide privilege",
|
||||
.oracle_str_user_error = "ORA-00990: missing or invalide privilege"
|
||||
.oracle_str_error = "ORA-00990: missing or invalid privilege",
|
||||
.oracle_str_user_error = "ORA-00990: missing or invalid privilege"
|
||||
};
|
||||
static const _error _error_OB_ERR_INVALID_VIRTUAL_COLUMN_TYPE = {
|
||||
.error_name = "OB_ERR_INVALID_VIRTUAL_COLUMN_TYPE",
|
||||
@ -16833,17 +16833,17 @@ static const _error _error_OB_ERR_UNSUPPORTED_CHARACTER_SET = {
|
||||
.oracle_str_error = "ORA-01482: unsupported character set",
|
||||
.oracle_str_user_error = "ORA-01482: unsupported character set"
|
||||
};
|
||||
static const _error _error_OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER = {
|
||||
.error_name = "OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER",
|
||||
static const _error _error_OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER = {
|
||||
.error_name = "OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER",
|
||||
.error_cause = "Internal Error",
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "'\\' must be followed by four hexdecimal characters or another '\\'",
|
||||
.str_user_error = "'\\' must be followed by four hexdecimal characters or another '\\'",
|
||||
.str_error = "'\\' must be followed by four hexadecimal characters or another '\\'",
|
||||
.str_user_error = "'\\' must be followed by four hexadecimal characters or another '\\'",
|
||||
.oracle_errno = 30186,
|
||||
.oracle_str_error = "ORA-30186: '\\' must be followed by four hexdecimal characters or another '\\'",
|
||||
.oracle_str_user_error = "ORA-30186: '\\' must be followed by four hexdecimal characters or another '\\'"
|
||||
.oracle_str_error = "ORA-30186: '\\' must be followed by four hexadecimal characters or another '\\'",
|
||||
.oracle_str_user_error = "ORA-30186: '\\' must be followed by four hexadecimal characters or another '\\'"
|
||||
};
|
||||
static const _error _error_OB_ERR_PARAMETER_TOO_LONG = {
|
||||
.error_name = "OB_ERR_PARAMETER_TOO_LONG",
|
||||
@ -21045,17 +21045,17 @@ static const _error _error_OB_AGENT_HAS_FAILED_TASK = {
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -9018, agent has failed task",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -9018, agent has failed task"
|
||||
};
|
||||
static const _error _error_OB_RESTORE_PARTITION_IS_COMPELETE = {
|
||||
.error_name = "OB_RESTORE_PARTITION_IS_COMPELETE",
|
||||
static const _error _error_OB_RESTORE_PARTITION_IS_COMPLETE = {
|
||||
.error_name = "OB_RESTORE_PARTITION_IS_COMPLETE",
|
||||
.error_cause = "Internal Error",
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = -1,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "restore partition is compelete",
|
||||
.str_user_error = "restore partition is compelete",
|
||||
.str_error = "restore partition is complete",
|
||||
.str_user_error = "restore partition is complete",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -9019, restore partition is compelete",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -9019, restore partition is compelete"
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -9019, restore partition is complete",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -9019, restore partition is complete"
|
||||
};
|
||||
static const _error _error_OB_RESTORE_PARTITION_TWICE = {
|
||||
.error_name = "OB_RESTORE_PARTITION_TWICE",
|
||||
@ -26425,7 +26425,7 @@ struct ObStrErrorInit
|
||||
_errors[-OB_ERR_DBMS_STATS_PL] = &_error_OB_ERR_DBMS_STATS_PL;
|
||||
_errors[-OB_ERR_INCORRECT_VALUE_FOR_FUNCTION] = &_error_OB_ERR_INCORRECT_VALUE_FOR_FUNCTION;
|
||||
_errors[-OB_ERR_UNSUPPORTED_CHARACTER_SET] = &_error_OB_ERR_UNSUPPORTED_CHARACTER_SET;
|
||||
_errors[-OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER] = &_error_OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER;
|
||||
_errors[-OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER] = &_error_OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER;
|
||||
_errors[-OB_ERR_PARAMETER_TOO_LONG] = &_error_OB_ERR_PARAMETER_TOO_LONG;
|
||||
_errors[-OB_ERR_INVALID_PLSQL_CCFLAGS] = &_error_OB_ERR_INVALID_PLSQL_CCFLAGS;
|
||||
_errors[-OB_ERR_REF_MUTUALLY_DEP] = &_error_OB_ERR_REF_MUTUALLY_DEP;
|
||||
@ -26776,7 +26776,7 @@ struct ObStrErrorInit
|
||||
_errors[-OB_CLUSTER_NAME_NOT_EQUAL] = &_error_OB_CLUSTER_NAME_NOT_EQUAL;
|
||||
_errors[-OB_RS_LIST_INVAILD] = &_error_OB_RS_LIST_INVAILD;
|
||||
_errors[-OB_AGENT_HAS_FAILED_TASK] = &_error_OB_AGENT_HAS_FAILED_TASK;
|
||||
_errors[-OB_RESTORE_PARTITION_IS_COMPELETE] = &_error_OB_RESTORE_PARTITION_IS_COMPELETE;
|
||||
_errors[-OB_RESTORE_PARTITION_IS_COMPLETE] = &_error_OB_RESTORE_PARTITION_IS_COMPLETE;
|
||||
_errors[-OB_RESTORE_PARTITION_TWICE] = &_error_OB_RESTORE_PARTITION_TWICE;
|
||||
_errors[-OB_STOP_DROP_SCHEMA] = &_error_OB_STOP_DROP_SCHEMA;
|
||||
_errors[-OB_CANNOT_START_LOG_ARCHIVE_BACKUP] = &_error_OB_CANNOT_START_LOG_ARCHIVE_BACKUP;
|
||||
|
@ -19,7 +19,7 @@
|
||||
//oracle error https://docs.oracle.com/en/database/oracle/oracle-database/18/errmg/ORA-00910.html
|
||||
//
|
||||
//we have ob errno, mysql errno, oracle errno. ob errno used in source code, mysql/oracle errno used in error packet encoding.
|
||||
//developer only use ob errno in source code, and specify the mapping relation between ob errno and mysql/oracle errnor in this file.
|
||||
//developer only use ob errno in source code, and specify the mapping relation between ob errno and mysql/oracle errno in this file.
|
||||
//
|
||||
//DEFINE_FULL_ERROR(C1, C0, M1, M2, M3, M4, R1, R2, R3, R4)
|
||||
//C0: ob error code
|
||||
@ -308,7 +308,7 @@ DEFINE_ERROR(OB_INVALID_PARTITION, -4251, -1, "HY000", "partition not valid");
|
||||
DEFINE_ERROR(OB_ERR_TIMEOUT_TRUNCATED, -4252, WARN_DATA_TRUNCATED, "01000", "Timeout value truncated to 102 years");
|
||||
DEFINE_ERROR_EXT(OB_ERR_TOO_LONG_TENANT_COMMENT, -4253, -1, "HY000", "Comment for tenant is too long", "Comment for tenant is too long (max = %ld)");
|
||||
DEFINE_ERROR(OB_ERR_NET_PACKET_TOO_LARGE, -4254, ER_NET_PACKET_TOO_LARGE, "08S01", "Got a packet bigger than \'max_allowed_packet\' bytes");
|
||||
DEFINE_ERROR(OB_TRACE_DESC_NOT_EXIST, -4255, -1, "HY000", "trace log title or key not exist describle");
|
||||
DEFINE_ERROR(OB_TRACE_DESC_NOT_EXIST, -4255, -1, "HY000", "trace log title or key not exist describe");
|
||||
DEFINE_ERROR_EXT(OB_ERR_NO_DEFAULT, -4256, ER_NO_DEFAULT, "42000", "Variable doesn't have a default value", "Variable '%.*s' doesn't have a default value");
|
||||
DEFINE_ERROR_DEP(OB_ERR_COMPRESS_DECOMPRESS_DATA, -4257, -1, "HY000", "compress data or decompress data failed");
|
||||
DEFINE_ERROR_EXT_DEP(OB_ERR_INCORRECT_STRING_VALUE, -4258, ER_TRUNCATED_WRONG_VALUE_FOR_FIELD, "HY000", "Incorrect string value", "Incorrect string value for column '%.*s' at row %ld");
|
||||
@ -440,14 +440,14 @@ DEFINE_ERROR(OB_STACK_OVERFLOW, -4385, -1, "HY000", "stack overflow");
|
||||
DEFINE_ERROR(OB_NOT_ALLOW_REMOVING_LEADER, -4386, -1, "HY000", "Do not allow removing leader");
|
||||
DEFINE_ERROR(OB_NEED_SWITCH_CONSUMER_GROUP, -4387, 13937, "HY000", "Failed to switch resource group");
|
||||
DEFINE_ERROR_DEP(OB_UNEXPECT_INTERNAL_ERROR, -4388, -1, "HY000", "Unexpected internal error happen, please checkout the internal errcode");
|
||||
DEFINE_ERROR_DEP(OB_ERR_TOO_MUCH_TIME, -4389, -1, "HY000", "Porcessing time is too long");
|
||||
DEFINE_ERROR_DEP(OB_ERR_TOO_MUCH_TIME, -4389, -1, "HY000", "Processing time is too long");
|
||||
DEFINE_ERROR(OB_ERR_REMOTE_SCHEMA_NOT_FULL, -4390, -1, "HY000", "Schema of remote server is not refreshed yet");
|
||||
DEFINE_ERROR(OB_DDL_SSTABLE_RANGE_CROSS, -4391, -1, "HY000", "ddl sstable version range cross");
|
||||
DEFINE_ERROR(OB_DISK_HUNG, -4392, -1, "HY000", "disk is hung");
|
||||
DEFINE_ERROR(OB_ERR_OBSERVER_START, -4393, -1, "HY000", "observer start process failure");
|
||||
DEFINE_ERROR(OB_ERR_OBSERVER_STOP, -4394, -1, "HY000", "observer stop process failure");
|
||||
DEFINE_ERROR(OB_ERR_OBSERVICE_START, -4395, -1, "HY000", "observice start process has failure");
|
||||
DEFINE_ERROR_DEP(OB_ERR_THREAD_PANIC, -4396, -1, "HY000", "Worker thread pannic, thread may be terminated or hung");
|
||||
DEFINE_ERROR_DEP(OB_ERR_THREAD_PANIC, -4396, -1, "HY000", "Worker thread panic, thread may be terminated or hung");
|
||||
DEFINE_ERROR(OB_ENCODING_EST_SIZE_OVERFLOW, -4397, -1, "HY000", "Encoding estimated size overflow");
|
||||
DEFINE_ORACLE_ERROR(OB_INVALID_SUB_PARTITION_TYPE, -4398, 1500, "HY000", "It is only possible to mix RANGE/LIST partitioning with HASH/KEY partitioning for subpartitioning", 14020, "this physical attribute may not be specified for a table partition");
|
||||
DEFINE_ERROR(OB_ERR_UNEXPECTED_UNIT_STATUS, -4399, -1, "HY000", "Unit status is not expected");
|
||||
@ -522,7 +522,7 @@ DEFINE_ERROR(OB_SERVER_ZONE_NOT_MATCH, -4631, -1, "HY000", "server zone not matc
|
||||
DEFINE_ERROR(OB_OVER_ZONE_NUM_LIMIT, -4632, -1, "HY000", "zone num has reach max zone num");
|
||||
DEFINE_ERROR(OB_ZONE_STATUS_NOT_MATCH, -4633, -1, "HY000", "zone status not match");
|
||||
DEFINE_ERROR_EXT(OB_RESOURCE_UNIT_IS_REFERENCED, -4634, -1, "HY000", "resource unit is referenced by resource pool", "resource unit \'%s\' is referenced by some resource pool");
|
||||
DEFINE_ERROR(OB_DIFFERENT_PRIMARY_ZONE, -4636, -1, "HY000", "table schema primary zone different with other table in sampe tablegroup");
|
||||
DEFINE_ERROR(OB_DIFFERENT_PRIMARY_ZONE, -4636, -1, "HY000", "table schema primary zone different with other table in same tablegroup");
|
||||
DEFINE_ERROR(OB_SERVER_NOT_ACTIVE, -4637, -1, "HY000", "server is not active");
|
||||
DEFINE_ERROR(OB_RS_NOT_MASTER, -4638, -1, "HY000", "The RootServer is not the master");
|
||||
DEFINE_ERROR(OB_CANDIDATE_LIST_ERROR, -4639, -1, "HY000", "The candidate list is invalid");
|
||||
@ -644,7 +644,7 @@ DEFINE_ERROR(OB_WAIT_DEGRATION_TIMEOUT, -4751, -1, "HY000", "wait degration fini
|
||||
DEFINE_ERROR(OB_ERR_ROOTSERVICE_START, -4752, -1, "HY000", "rootservice start process has failure");
|
||||
DEFINE_ERROR(OB_ERR_ROOTSERVICE_STOP, -4753, -1, "HY000", "rootservice stop process has failure");
|
||||
DEFINE_ERROR(OB_ERR_ROOT_INSPECTION, -4754, -1, "HY000", "root inspection is not passed");
|
||||
DEFINE_ERROR(OB_ERR_ROOTSERVICE_THREAD_HUNG, -4755, -1, "HY000", "rootservice backgroud thread may be hung");
|
||||
DEFINE_ERROR(OB_ERR_ROOTSERVICE_THREAD_HUNG, -4755, -1, "HY000", "rootservice background thread may be hung");
|
||||
DEFINE_ERROR(OB_MIGRATE_NOT_COMPATIBLE, -4756, -1, "HY000", "Migration src and dest version is not compatible.");
|
||||
DEFINE_ERROR(OB_CLUSTER_INFO_MAYBE_REMAINED, -4757, -1, "HY000", "Cluster info may remain on arbitration server '%.*s', please make sure whether to use ob_admin to clean it.");
|
||||
//DEFINE_ERROR(OB_CLUSTER_INFO_MAYBE_REMAINED, -4757, -1, "HY000", "Cluster info may remain on arbitration server '%.*s', please make sure whether to use ob_admin to clean it.");
|
||||
@ -751,7 +751,7 @@ DEFINE_ERROR_EXT_DEP(OB_INVALID_ARGUMENT_FOR_IS, -5107, -1, "42000", "Invalid ar
|
||||
DEFINE_ERROR_EXT_DEP(OB_INVALID_ARGUMENT_FOR_LENGTH, -5108, -1, "42000", "Invalid argument for length()", "function LENGTH() expected a varchar argument");
|
||||
DEFINE_ERROR_EXT_DEP(OB_INVALID_ARGUMENT_FOR_SUBSTR, -5109, -1, "42000", "Invalid argument for substr()", "invalid input format. ret=%d text=%s start=%s length=%s");
|
||||
DEFINE_ERROR_EXT_DEP(OB_INVALID_ARGUMENT_FOR_TIME_TO_USEC, -5110, -1, "42000", "Invalid argument for time_to_usec()", "TIME_TO_USEC() expected timestamp or a string as date argument");
|
||||
DEFINE_ERROR_EXT_DEP(OB_INVALID_ARGUMENT_FOR_USEC_TO_TIME, -5111, -1, "42000", "Invalid argument for usec_to_time()", "USEC_TO_TIME expected a interger number as usec argument");
|
||||
DEFINE_ERROR_EXT_DEP(OB_INVALID_ARGUMENT_FOR_USEC_TO_TIME, -5111, -1, "42000", "Invalid argument for usec_to_time()", "USEC_TO_TIME expected a integer number as usec argument");
|
||||
DEFINE_ERROR_EXT(OB_ERR_USER_VARIABLE_UNKNOWN, -5112, -1, "42P01", "Unknown user variable", "Variable %.*s does not exists");
|
||||
DEFINE_ERROR_EXT(OB_ILLEGAL_USAGE_OF_MERGING_FROZEN_TIME, -5113, -1, "42000", "Illegal usage of merging_frozen_time()", "MERGING_FROZEN_TIME() system function only be used in daily merging.");
|
||||
DEFINE_ORACLE_ERROR_EXT_DEP(OB_INVALID_NUMERIC, -5114, -1, "42000", "Invalid numeric", "Invalid numeric char '%c'", 1722, "invalid number", "invalid number char '%c'");
|
||||
@ -1061,7 +1061,7 @@ DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_MULTIPLE_JSON_VALUES, -5433, ER_MULTIPLE_JSON
|
||||
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_DEP(OB_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP, -5437, -1, "42000", "Invalid argument for scn_to_timestamp()", "SCN_TO_TIMESTAMP expected a integer 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");
|
||||
@ -1434,7 +1434,7 @@ DEFINE_ORACLE_ERROR(OB_ERR_ROWTYPE_MISMATCH, -5841, -1, "HY000", "PL/SQL: Return
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_STORAGE_ERROR, -5842, -1, "HY000", "PL/SQL: storage error", 6500, "PL/SQL: storage error");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_SUBSCRIPT_OUTSIDE_LIMIT, -5843, -1, "HY000", "Subscript outside of limit", 6532, "Subscript outside of limit");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_INVALID_CURSOR, -5844, -1, "HY000", "invalid cursor", 1001, "invalid cursor");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_LOGIN_DENIED, -5845, -1, "HY000", "invalid username/password; logon denied", 1017, "invalid username/password; logon deniedd");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_LOGIN_DENIED, -5845, -1, "HY000", "invalid username/password; logon denied", 1017, "invalid username/password; logon denied");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_NOT_LOGGED_ON, -5846, -1, "HY000", "not logged on", 1012, "not logged on");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_SELF_IS_NULL, -5847, -1, "HY000", "method dispatch on NULL SELF argument is disallowed", 30625, "method dispatch on NULL SELF argument is disallowed");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_TIMEOUT_ON_RESOURCE, -5848, -1, "HY000", "timeout occurred while waiting for a resource", 51, "timeout occurred while waiting for a resource");
|
||||
@ -1481,7 +1481,7 @@ DEFINE_ORACLE_ERROR(OB_ERR_NO_OPTIONS_FOR_ALTER_USER, -5888, -1, "HY000", "no op
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_NO_MATCHING_UK_PK_FOR_COL_LIST, -5889, -1, "HY000", "no matching unique or primary key for this column-list", 2270, "no matching unique or primary key for this column-list");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_DUP_FK_IN_TABLE, -5890, -1, "HY000", "duplicate referential constraint specifications", 2774, "duplicate referential constraint specifications");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_DUP_FK_EXISTS, -5891, -1, "HY000", "such a referential constraint already exists in the table", 2775, "such a referential constraint already exists in the table");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_MISSING_OR_INVALID_PRIVIEGE, -5892, -1, "HY000", "missing or invalid privilege", 990, "missing or invalide privilege");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_MISSING_OR_INVALID_PRIVIEGE, -5892, -1, "HY000", "missing or invalid privilege", 990, "missing or invalid privilege");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_INVALID_VIRTUAL_COLUMN_TYPE, -5893, -1, "HY000", "specified data type is not supported for a virtual column", 54003, "specified data type is not supported for a virtual column");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_REFERENCED_TABLE_HAS_NO_PK, -5894, -1, "HY000", "referenced table does not have a primary key", 2268, "referenced table does not have a primary key");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_MODIFY_PART_COLUMN_TYPE, -5895, -1, "HY000", "data type or length of a table partitioning column may not be changed", 14060, "data type or length of a table partitioning column may not be changed");
|
||||
@ -1531,12 +1531,12 @@ DEFINE_ORACLE_ERROR(OB_ERR_ARG_INVALID, -5934, -1, "HY000", "argument is null, i
|
||||
//
|
||||
// ATTENTION !!! ATTENTION !!! ATTENTION !!!
|
||||
// If you need to use this error code, you MUST use LOG_USER_ERROR to generate a customized
|
||||
// error message. Or you will make your customer really pissed off !!!
|
||||
// error message. Or you will make your customer really passed off !!!
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_ERR_DBMS_STATS_PL, -5935, -1, "HY000", "must use LOG_USER_ERROR", "%s", 20001, "must use LOG_USER_ERROR", "%s");
|
||||
DEFINE_ERROR_EXT(OB_ERR_INCORRECT_VALUE_FOR_FUNCTION, -5936, ER_WRONG_VALUE_FOR_TYPE, "HY000", "Incorrect value for function", "Incorrect %.*s value: '%.*s' for function %.*s");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_UNSUPPORTED_CHARACTER_SET, -5937, -1, "HY000", "unsupported character set", 1482, "unsupported character set");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER, -5938, -1, "HY000", "'\\' must be followed by four hexdecimal characters or another '\\'", 30186, "'\\' must be followed by four hexdecimal characters or another '\\'");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER, -5938, -1, "HY000", "'\\' must be followed by four hexadecimal characters or another '\\'", 30186, "'\\' must be followed by four hexadecimal characters or another '\\'");
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_ERR_PARAMETER_TOO_LONG, -5939, -1, "HY000", "parameter value longer than maximum characters", "parameter value longer than %d characters", 32021, "parameter value longer than maximum characters", "parameter value longer than %d characters");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_INVALID_PLSQL_CCFLAGS, -5940, -1, "HY000", "invalid parameter for PLSQL_CCFLAGS", 39962, "invalid parameter for PLSQL_CCFLAGS");
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_ERR_REF_MUTUALLY_DEP, -5941, -1, "HY000", "Aborted: formed a non-REF mutually-dependent cycle", "Aborted: '%.*s' formed a non-REF mutually-dependent cycle with '%.*s'", 4055, "Aborted: formed a non-REF mutually-dependent cycle", "Aborted: '%.*s' formed a non-REF mutually-dependent cycle with '%.*s'");
|
||||
@ -1930,7 +1930,7 @@ DEFINE_ERROR(OB_AGENT_INITING_BACKUP_COUNT_ERROR, -9015, -1, "HY000", "agent ini
|
||||
DEFINE_ERROR(OB_CLUSTER_NAME_NOT_EQUAL, -9016, -1, "HY000", "ob cluster name not equal");
|
||||
DEFINE_ERROR(OB_RS_LIST_INVAILD, -9017, -1, "HY000", "rs list invalid");
|
||||
DEFINE_ERROR(OB_AGENT_HAS_FAILED_TASK, -9018, -1, "HY000", "agent has failed task");
|
||||
DEFINE_ERROR(OB_RESTORE_PARTITION_IS_COMPELETE, -9019, -1, "HY000", "restore partition is compelete");
|
||||
DEFINE_ERROR(OB_RESTORE_PARTITION_IS_COMPLETE, -9019, -1, "HY000", "restore partition is complete");
|
||||
DEFINE_ERROR(OB_RESTORE_PARTITION_TWICE, -9020, -1, "HY000", "restore partition twice");
|
||||
DEFINE_ERROR(OB_STOP_DROP_SCHEMA, -9022, -1, "HY000", "physical backup switch is on");
|
||||
DEFINE_ERROR(OB_CANNOT_START_LOG_ARCHIVE_BACKUP, -9023, -1, "HY000", "cannot start log archive backup");
|
||||
@ -2029,7 +2029,7 @@ DEFINE_ERROR(OB_NOT_READY_TO_EXTEND_FILE, -9202, -1, "HY000", "Auto extend param
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
//error code for PL/SQL -9500 ~ -10000
|
||||
//!!! -20000/-21000/-32491 shoud not in here. but we can not remove it now because of compat. ONLY PL SQL ERROR PUT HERE!!!
|
||||
//!!! -20000/-21000/-32491 should not in here. but we can not remove it now because of compat. ONLY PL SQL ERROR PUT HERE!!!
|
||||
////////////////////////////////////////////////////////////////
|
||||
DEFINE_ORACLE_ERROR_V2_EXT(OB_SP_RAISE_APPLICATION_ERROR, -20000, -1, "HY000", "The stored procedure 'raise_application_error' was called which causes this error to be generated", "%.*s", 20000, "ORA-20000: The stored procedure 'raise_application_error' was called which causes this error to be generated", "ORA%06ld: %.*s");
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_SP_RAISE_APPLICATION_ERROR_NUM, -21000, -1, "HY000", "error number argument to raise_application_error of stringstring is out of range", "error number argument to raise_application_error of '%d' is out of range", 21000, "error number argument to raise_application_error of stringstring is out of range", "error number argument to raise_application_error of '%d' is out of range");
|
||||
|
@ -1186,7 +1186,7 @@ constexpr int OB_ERR_ARG_INVALID = -5934;
|
||||
constexpr int OB_ERR_DBMS_STATS_PL = -5935;
|
||||
constexpr int OB_ERR_INCORRECT_VALUE_FOR_FUNCTION = -5936;
|
||||
constexpr int OB_ERR_UNSUPPORTED_CHARACTER_SET = -5937;
|
||||
constexpr int OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER = -5938;
|
||||
constexpr int OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER = -5938;
|
||||
constexpr int OB_ERR_PARAMETER_TOO_LONG = -5939;
|
||||
constexpr int OB_ERR_INVALID_PLSQL_CCFLAGS = -5940;
|
||||
constexpr int OB_ERR_REF_MUTUALLY_DEP = -5941;
|
||||
@ -1430,7 +1430,7 @@ constexpr int OB_AGENT_INITING_BACKUP_COUNT_ERROR = -9015;
|
||||
constexpr int OB_CLUSTER_NAME_NOT_EQUAL = -9016;
|
||||
constexpr int OB_RS_LIST_INVAILD = -9017;
|
||||
constexpr int OB_AGENT_HAS_FAILED_TASK = -9018;
|
||||
constexpr int OB_RESTORE_PARTITION_IS_COMPELETE = -9019;
|
||||
constexpr int OB_RESTORE_PARTITION_IS_COMPLETE = -9019;
|
||||
constexpr int OB_RESTORE_PARTITION_TWICE = -9020;
|
||||
constexpr int OB_STOP_DROP_SCHEMA = -9022;
|
||||
constexpr int OB_CANNOT_START_LOG_ARCHIVE_BACKUP = -9023;
|
||||
@ -1970,7 +1970,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_TIMEOUT_TRUNCATED__USER_ERROR_MSG "Timeout value truncated to 102 years"
|
||||
#define OB_ERR_TOO_LONG_TENANT_COMMENT__USER_ERROR_MSG "Comment for tenant is too long (max = %ld)"
|
||||
#define OB_ERR_NET_PACKET_TOO_LARGE__USER_ERROR_MSG "Got a packet bigger than \'max_allowed_packet\' bytes"
|
||||
#define OB_TRACE_DESC_NOT_EXIST__USER_ERROR_MSG "trace log title or key not exist describle"
|
||||
#define OB_TRACE_DESC_NOT_EXIST__USER_ERROR_MSG "trace log title or key not exist describe"
|
||||
#define OB_ERR_NO_DEFAULT__USER_ERROR_MSG "Variable '%.*s' doesn't have a default value"
|
||||
#define OB_ERR_COMPRESS_DECOMPRESS_DATA__USER_ERROR_MSG "compress data or decompress data failed"
|
||||
#define OB_ERR_INCORRECT_STRING_VALUE__USER_ERROR_MSG "Incorrect string value for column '%.*s' at row %ld"
|
||||
@ -2101,14 +2101,14 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_NOT_ALLOW_REMOVING_LEADER__USER_ERROR_MSG "Do not allow removing leader"
|
||||
#define OB_NEED_SWITCH_CONSUMER_GROUP__USER_ERROR_MSG "Failed to switch resource group"
|
||||
#define OB_UNEXPECT_INTERNAL_ERROR__USER_ERROR_MSG "Unexpected internal error happen, please checkout the internal errcode"
|
||||
#define OB_ERR_TOO_MUCH_TIME__USER_ERROR_MSG "Porcessing time is too long"
|
||||
#define OB_ERR_TOO_MUCH_TIME__USER_ERROR_MSG "Processing time is too long"
|
||||
#define OB_ERR_REMOTE_SCHEMA_NOT_FULL__USER_ERROR_MSG "Schema of remote server is not refreshed yet"
|
||||
#define OB_DDL_SSTABLE_RANGE_CROSS__USER_ERROR_MSG "ddl sstable version range cross"
|
||||
#define OB_DISK_HUNG__USER_ERROR_MSG "disk is hung"
|
||||
#define OB_ERR_OBSERVER_START__USER_ERROR_MSG "observer start process failure"
|
||||
#define OB_ERR_OBSERVER_STOP__USER_ERROR_MSG "observer stop process failure"
|
||||
#define OB_ERR_OBSERVICE_START__USER_ERROR_MSG "observice start process has failure"
|
||||
#define OB_ERR_THREAD_PANIC__USER_ERROR_MSG "Worker thread pannic, thread may be terminated or hung"
|
||||
#define OB_ERR_THREAD_PANIC__USER_ERROR_MSG "Worker thread panic, thread may be terminated or hung"
|
||||
#define OB_ENCODING_EST_SIZE_OVERFLOW__USER_ERROR_MSG "Encoding estimated size overflow"
|
||||
#define OB_INVALID_SUB_PARTITION_TYPE__USER_ERROR_MSG "It is only possible to mix RANGE/LIST partitioning with HASH/KEY partitioning for subpartitioning"
|
||||
#define OB_ERR_UNEXPECTED_UNIT_STATUS__USER_ERROR_MSG "Unit status is not expected"
|
||||
@ -2178,7 +2178,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_OVER_ZONE_NUM_LIMIT__USER_ERROR_MSG "zone num has reach max zone num"
|
||||
#define OB_ZONE_STATUS_NOT_MATCH__USER_ERROR_MSG "zone status not match"
|
||||
#define OB_RESOURCE_UNIT_IS_REFERENCED__USER_ERROR_MSG "resource unit \'%s\' is referenced by some resource pool"
|
||||
#define OB_DIFFERENT_PRIMARY_ZONE__USER_ERROR_MSG "table schema primary zone different with other table in sampe tablegroup"
|
||||
#define OB_DIFFERENT_PRIMARY_ZONE__USER_ERROR_MSG "table schema primary zone different with other table in same tablegroup"
|
||||
#define OB_SERVER_NOT_ACTIVE__USER_ERROR_MSG "server is not active"
|
||||
#define OB_RS_NOT_MASTER__USER_ERROR_MSG "The RootServer is not the master"
|
||||
#define OB_CANDIDATE_LIST_ERROR__USER_ERROR_MSG "The candidate list is invalid"
|
||||
@ -2297,7 +2297,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_ROOTSERVICE_START__USER_ERROR_MSG "rootservice start process has failure"
|
||||
#define OB_ERR_ROOTSERVICE_STOP__USER_ERROR_MSG "rootservice stop process has failure"
|
||||
#define OB_ERR_ROOT_INSPECTION__USER_ERROR_MSG "root inspection is not passed"
|
||||
#define OB_ERR_ROOTSERVICE_THREAD_HUNG__USER_ERROR_MSG "rootservice backgroud thread may be hung"
|
||||
#define OB_ERR_ROOTSERVICE_THREAD_HUNG__USER_ERROR_MSG "rootservice background thread may be hung"
|
||||
#define OB_MIGRATE_NOT_COMPATIBLE__USER_ERROR_MSG "Migration src and dest version is not compatible."
|
||||
#define OB_CLUSTER_INFO_MAYBE_REMAINED__USER_ERROR_MSG "Cluster info may remain on arbitration server '%.*s', please make sure whether to use ob_admin to clean it."
|
||||
#define OB_ARBITRATION_INFO_QUERY_FAILED__USER_ERROR_MSG "the arbitration service may be unavailable, please check and retry"
|
||||
@ -2398,7 +2398,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_INVALID_ARGUMENT_FOR_LENGTH__USER_ERROR_MSG "function LENGTH() expected a varchar argument"
|
||||
#define OB_INVALID_ARGUMENT_FOR_SUBSTR__USER_ERROR_MSG "invalid input format. ret=%d text=%s start=%s length=%s"
|
||||
#define OB_INVALID_ARGUMENT_FOR_TIME_TO_USEC__USER_ERROR_MSG "TIME_TO_USEC() expected timestamp or a string as date argument"
|
||||
#define OB_INVALID_ARGUMENT_FOR_USEC_TO_TIME__USER_ERROR_MSG "USEC_TO_TIME expected a interger number as usec argument"
|
||||
#define OB_INVALID_ARGUMENT_FOR_USEC_TO_TIME__USER_ERROR_MSG "USEC_TO_TIME expected a integer number as usec argument"
|
||||
#define OB_ERR_USER_VARIABLE_UNKNOWN__USER_ERROR_MSG "Variable %.*s does not exists"
|
||||
#define OB_ILLEGAL_USAGE_OF_MERGING_FROZEN_TIME__USER_ERROR_MSG "MERGING_FROZEN_TIME() system function only be used in daily merging."
|
||||
#define OB_INVALID_NUMERIC__USER_ERROR_MSG "Invalid numeric char '%c'"
|
||||
@ -2701,7 +2701,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_SQL_RETRY_SPM__USER_ERROR_MSG "retry sql due to spm"
|
||||
#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_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP__USER_ERROR_MSG "SCN_TO_TIMESTAMP expected a integer 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"
|
||||
@ -3152,7 +3152,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_DBMS_STATS_PL__USER_ERROR_MSG "%s"
|
||||
#define OB_ERR_INCORRECT_VALUE_FOR_FUNCTION__USER_ERROR_MSG "Incorrect %.*s value: '%.*s' for function %.*s"
|
||||
#define OB_ERR_UNSUPPORTED_CHARACTER_SET__USER_ERROR_MSG "unsupported character set"
|
||||
#define OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER__USER_ERROR_MSG "'\\' must be followed by four hexdecimal characters or another '\\'"
|
||||
#define OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER__USER_ERROR_MSG "'\\' must be followed by four hexadecimal characters or another '\\'"
|
||||
#define OB_ERR_PARAMETER_TOO_LONG__USER_ERROR_MSG "parameter value longer than %d characters"
|
||||
#define OB_ERR_INVALID_PLSQL_CCFLAGS__USER_ERROR_MSG "invalid parameter for PLSQL_CCFLAGS"
|
||||
#define OB_ERR_REF_MUTUALLY_DEP__USER_ERROR_MSG "Aborted: '%.*s' formed a non-REF mutually-dependent cycle with '%.*s'"
|
||||
@ -3503,7 +3503,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_CLUSTER_NAME_NOT_EQUAL__USER_ERROR_MSG "ob cluster name not equal"
|
||||
#define OB_RS_LIST_INVAILD__USER_ERROR_MSG "rs list invalid"
|
||||
#define OB_AGENT_HAS_FAILED_TASK__USER_ERROR_MSG "agent has failed task"
|
||||
#define OB_RESTORE_PARTITION_IS_COMPELETE__USER_ERROR_MSG "restore partition is compelete"
|
||||
#define OB_RESTORE_PARTITION_IS_COMPLETE__USER_ERROR_MSG "restore partition is complete"
|
||||
#define OB_RESTORE_PARTITION_TWICE__USER_ERROR_MSG "restore partition twice"
|
||||
#define OB_STOP_DROP_SCHEMA__USER_ERROR_MSG "physical backup switch is on"
|
||||
#define OB_CANNOT_START_LOG_ARCHIVE_BACKUP__USER_ERROR_MSG "cannot start log archive backup"
|
||||
@ -4056,7 +4056,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_TIMEOUT_TRUNCATED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4252, Timeout value truncated to 102 years"
|
||||
#define OB_ERR_TOO_LONG_TENANT_COMMENT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4253, Comment for tenant is too long (max = %ld)"
|
||||
#define OB_ERR_NET_PACKET_TOO_LARGE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4254, Got a packet bigger than \'max_allowed_packet\' bytes"
|
||||
#define OB_TRACE_DESC_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4255, trace log title or key not exist describle"
|
||||
#define OB_TRACE_DESC_NOT_EXIST__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4255, trace log title or key not exist describe"
|
||||
#define OB_ERR_NO_DEFAULT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4256, Variable '%.*s' doesn't have a default value"
|
||||
#define OB_ERR_COMPRESS_DECOMPRESS_DATA__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4257, compress data or decompress data failed"
|
||||
#define OB_ERR_INCORRECT_STRING_VALUE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4258, Incorrect string value for column '%.*s' at row %ld"
|
||||
@ -4187,14 +4187,14 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_NOT_ALLOW_REMOVING_LEADER__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4386, Do not allow removing leader"
|
||||
#define OB_NEED_SWITCH_CONSUMER_GROUP__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4387, Failed to switch resource group"
|
||||
#define OB_UNEXPECT_INTERNAL_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4388, Unexpected internal error happen, please checkout the internal errcode"
|
||||
#define OB_ERR_TOO_MUCH_TIME__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4389, Porcessing time is too long"
|
||||
#define OB_ERR_TOO_MUCH_TIME__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4389, Processing time is too long"
|
||||
#define OB_ERR_REMOTE_SCHEMA_NOT_FULL__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4390, Schema of remote server is not refreshed yet"
|
||||
#define OB_DDL_SSTABLE_RANGE_CROSS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4391, ddl sstable version range cross"
|
||||
#define OB_DISK_HUNG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4392, disk is hung"
|
||||
#define OB_ERR_OBSERVER_START__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4393, observer start process failure"
|
||||
#define OB_ERR_OBSERVER_STOP__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4394, observer stop process failure"
|
||||
#define OB_ERR_OBSERVICE_START__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4395, observice start process has failure"
|
||||
#define OB_ERR_THREAD_PANIC__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4396, Worker thread pannic, thread may be terminated or hung"
|
||||
#define OB_ERR_THREAD_PANIC__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4396, Worker thread panic, thread may be terminated or hung"
|
||||
#define OB_ENCODING_EST_SIZE_OVERFLOW__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4397, Encoding estimated size overflow"
|
||||
#define OB_INVALID_SUB_PARTITION_TYPE__ORA_USER_ERROR_MSG "ORA-14020: this physical attribute may not be specified for a table partition"
|
||||
#define OB_ERR_UNEXPECTED_UNIT_STATUS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4399, Unit status is not expected"
|
||||
@ -4264,7 +4264,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_OVER_ZONE_NUM_LIMIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4632, zone num has reach max zone num"
|
||||
#define OB_ZONE_STATUS_NOT_MATCH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4633, zone status not match"
|
||||
#define OB_RESOURCE_UNIT_IS_REFERENCED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4634, resource unit \'%s\' is referenced by some resource pool"
|
||||
#define OB_DIFFERENT_PRIMARY_ZONE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4636, table schema primary zone different with other table in sampe tablegroup"
|
||||
#define OB_DIFFERENT_PRIMARY_ZONE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4636, table schema primary zone different with other table in same tablegroup"
|
||||
#define OB_SERVER_NOT_ACTIVE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4637, server is not active"
|
||||
#define OB_RS_NOT_MASTER__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4638, The RootServer is not the master"
|
||||
#define OB_CANDIDATE_LIST_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4639, The candidate list is invalid"
|
||||
@ -4383,7 +4383,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_ROOTSERVICE_START__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4752, rootservice start process has failure"
|
||||
#define OB_ERR_ROOTSERVICE_STOP__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4753, rootservice stop process has failure"
|
||||
#define OB_ERR_ROOT_INSPECTION__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4754, root inspection is not passed"
|
||||
#define OB_ERR_ROOTSERVICE_THREAD_HUNG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4755, rootservice backgroud thread may be hung"
|
||||
#define OB_ERR_ROOTSERVICE_THREAD_HUNG__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4755, rootservice background thread may be hung"
|
||||
#define OB_MIGRATE_NOT_COMPATIBLE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4756, Migration src and dest version is not compatible."
|
||||
#define OB_CLUSTER_INFO_MAYBE_REMAINED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4757, Cluster info may remain on arbitration server '%.*s', please make sure whether to use ob_admin to clean it."
|
||||
#define OB_ARBITRATION_INFO_QUERY_FAILED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4758, the arbitration service may be unavailable, please check and retry"
|
||||
@ -4484,7 +4484,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_INVALID_ARGUMENT_FOR_LENGTH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5108, function LENGTH() expected a varchar argument"
|
||||
#define OB_INVALID_ARGUMENT_FOR_SUBSTR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5109, invalid input format. ret=%d text=%s start=%s length=%s"
|
||||
#define OB_INVALID_ARGUMENT_FOR_TIME_TO_USEC__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5110, TIME_TO_USEC() expected timestamp or a string as date argument"
|
||||
#define OB_INVALID_ARGUMENT_FOR_USEC_TO_TIME__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5111, USEC_TO_TIME expected a interger number as usec argument"
|
||||
#define OB_INVALID_ARGUMENT_FOR_USEC_TO_TIME__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5111, USEC_TO_TIME expected a integer number as usec argument"
|
||||
#define OB_ERR_USER_VARIABLE_UNKNOWN__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5112, Variable %.*s does not exists"
|
||||
#define OB_ILLEGAL_USAGE_OF_MERGING_FROZEN_TIME__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5113, MERGING_FROZEN_TIME() system function only be used in daily merging."
|
||||
#define OB_INVALID_NUMERIC__ORA_USER_ERROR_MSG "ORA-01722: invalid number char '%c'"
|
||||
@ -4787,7 +4787,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_SQL_RETRY_SPM__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5434, retry sql due to spm"
|
||||
#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_INVALID_ARGUMENT_FOR_SCN_TO_TIMESTAMP__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5437, SCN_TO_TIMESTAMP expected a integer 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"
|
||||
@ -5145,7 +5145,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_STORAGE_ERROR__ORA_USER_ERROR_MSG "ORA-06500: PL/SQL: storage error"
|
||||
#define OB_ERR_SUBSCRIPT_OUTSIDE_LIMIT__ORA_USER_ERROR_MSG "ORA-06532: Subscript outside of limit"
|
||||
#define OB_ERR_INVALID_CURSOR__ORA_USER_ERROR_MSG "ORA-01001: invalid cursor"
|
||||
#define OB_ERR_LOGIN_DENIED__ORA_USER_ERROR_MSG "ORA-01017: invalid username/password; logon deniedd"
|
||||
#define OB_ERR_LOGIN_DENIED__ORA_USER_ERROR_MSG "ORA-01017: invalid username/password; logon denied"
|
||||
#define OB_ERR_NOT_LOGGED_ON__ORA_USER_ERROR_MSG "ORA-01012: not logged on"
|
||||
#define OB_ERR_SELF_IS_NULL__ORA_USER_ERROR_MSG "ORA-30625: method dispatch on NULL SELF argument is disallowed"
|
||||
#define OB_ERR_TIMEOUT_ON_RESOURCE__ORA_USER_ERROR_MSG "ORA-00051: timeout occurred while waiting for a resource"
|
||||
@ -5192,7 +5192,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_NO_MATCHING_UK_PK_FOR_COL_LIST__ORA_USER_ERROR_MSG "ORA-02270: no matching unique or primary key for this column-list"
|
||||
#define OB_ERR_DUP_FK_IN_TABLE__ORA_USER_ERROR_MSG "ORA-02774: duplicate referential constraint specifications"
|
||||
#define OB_ERR_DUP_FK_EXISTS__ORA_USER_ERROR_MSG "ORA-02775: such a referential constraint already exists in the table"
|
||||
#define OB_ERR_MISSING_OR_INVALID_PRIVIEGE__ORA_USER_ERROR_MSG "ORA-00990: missing or invalide privilege"
|
||||
#define OB_ERR_MISSING_OR_INVALID_PRIVIEGE__ORA_USER_ERROR_MSG "ORA-00990: missing or invalid privilege"
|
||||
#define OB_ERR_INVALID_VIRTUAL_COLUMN_TYPE__ORA_USER_ERROR_MSG "ORA-54003: specified data type is not supported for a virtual column"
|
||||
#define OB_ERR_REFERENCED_TABLE_HAS_NO_PK__ORA_USER_ERROR_MSG "ORA-02268: referenced table does not have a primary key"
|
||||
#define OB_ERR_MODIFY_PART_COLUMN_TYPE__ORA_USER_ERROR_MSG "ORA-14060: data type or length of a table partitioning column may not be changed"
|
||||
@ -5238,7 +5238,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_DBMS_STATS_PL__ORA_USER_ERROR_MSG "ORA-20001: %s"
|
||||
#define OB_ERR_INCORRECT_VALUE_FOR_FUNCTION__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5936, Incorrect %.*s value: '%.*s' for function %.*s"
|
||||
#define OB_ERR_UNSUPPORTED_CHARACTER_SET__ORA_USER_ERROR_MSG "ORA-01482: unsupported character set"
|
||||
#define OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER__ORA_USER_ERROR_MSG "ORA-30186: '\\' must be followed by four hexdecimal characters or another '\\'"
|
||||
#define OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER__ORA_USER_ERROR_MSG "ORA-30186: '\\' must be followed by four hexadecimal characters or another '\\'"
|
||||
#define OB_ERR_PARAMETER_TOO_LONG__ORA_USER_ERROR_MSG "ORA-32021: parameter value longer than %d characters"
|
||||
#define OB_ERR_INVALID_PLSQL_CCFLAGS__ORA_USER_ERROR_MSG "ORA-39962: invalid parameter for PLSQL_CCFLAGS"
|
||||
#define OB_ERR_REF_MUTUALLY_DEP__ORA_USER_ERROR_MSG "ORA-04055: Aborted: '%.*s' formed a non-REF mutually-dependent cycle with '%.*s'"
|
||||
@ -5589,7 +5589,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_CLUSTER_NAME_NOT_EQUAL__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9016, ob cluster name not equal"
|
||||
#define OB_RS_LIST_INVAILD__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9017, rs list invalid"
|
||||
#define OB_AGENT_HAS_FAILED_TASK__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9018, agent has failed task"
|
||||
#define OB_RESTORE_PARTITION_IS_COMPELETE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9019, restore partition is compelete"
|
||||
#define OB_RESTORE_PARTITION_IS_COMPLETE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9019, restore partition is complete"
|
||||
#define OB_RESTORE_PARTITION_TWICE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9020, restore partition twice"
|
||||
#define OB_STOP_DROP_SCHEMA__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9022, physical backup switch is on"
|
||||
#define OB_CANNOT_START_LOG_ARCHIVE_BACKUP__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -9023, cannot start log archive backup"
|
||||
|
@ -83,7 +83,7 @@ int calc_unistr(const ObString &src,
|
||||
for (int i = 0; OB_SUCC(ret) && i < 4; ++i) {
|
||||
if (!scanner.next_character(encoding_inner, wchar_inner, ret)) {
|
||||
if (OB_SUCC(ret)) {
|
||||
ret = OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER;
|
||||
ret = OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER;
|
||||
}
|
||||
LOG_WARN("fail to get next character", K(ret));
|
||||
} else if (0 == i && '\\' == wchar_inner) {
|
||||
@ -105,7 +105,7 @@ int calc_unistr(const ObString &src,
|
||||
} else if ('a' <= wchar_inner && wchar_inner <= 'f') {
|
||||
value = wchar_inner - 'a' + 10;
|
||||
} else {
|
||||
ret = OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXDECIMAL_CHARACTERS_OR_ANOTHER;
|
||||
ret = OB_ERR_MUST_BE_FOLLOWED_BY_FOUR_HEXADECIMAL_CHARACTERS_OR_ANOTHER;
|
||||
LOG_WARN("fail to get next character", K(ret));
|
||||
}
|
||||
if (OB_SUCC(ret)) {
|
||||
|
@ -40,7 +40,7 @@ MySQL:
|
||||
|
||||
Oracle:
|
||||
Oracle Error Code: ORA-01017
|
||||
Message: invalid username/password; logon deniedd
|
||||
Message: invalid username/password; logon denied
|
||||
Related OceanBase Error Code:
|
||||
OB_ERR_LOGIN_DENIED(-5845)
|
||||
$ob_error 5858
|
||||
|
Loading…
x
Reference in New Issue
Block a user