fix a log error bugs
This commit is contained in:
@ -8607,11 +8607,11 @@ static const _error _error_OB_WRONG_USER_NAME_LENGTH = {
|
||||
.error_solution = "Contact OceanBase Support",
|
||||
.mysql_errno = ER_WRONG_STRING_LENGTH,
|
||||
.sqlstate = "HY000",
|
||||
.str_error = "String is too long for user_name (should be no longer than 16)",
|
||||
.str_user_error = "String '%.*s' is too long for user name (should be no longer than 16)",
|
||||
.str_error = "String is too long for user_name (should be no longer than 64)",
|
||||
.str_user_error = "String '%.*s' is too long for user name (should be no longer than 64)",
|
||||
.oracle_errno = 600,
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -5181, String is too long for user_name (should be no longer than 16)",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5181, String '%.*s' is too long for user name (should be no longer than 16)"
|
||||
.oracle_str_error = "ORA-00600: internal error code, arguments: -5181, String is too long for user_name (should be no longer than 64)",
|
||||
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5181, String '%.*s' is too long for user name (should be no longer than 64)"
|
||||
};
|
||||
static const _error _error_OB_ERR_PRIV_USAGE = {
|
||||
.error_name = "OB_ERR_PRIV_USAGE",
|
||||
|
||||
@ -819,7 +819,7 @@ DEFINE_ERROR_DEP(OB_CANT_AGGREGATE_2COLLATIONS, -5177, ER_CANT_AGGREGATE_2COLLAT
|
||||
DEFINE_ERROR_EXT(OB_ERR_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD, -5178, ER_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD, "HY000", "Field is of a not allowed type for this type of partitioning", "Field \'%.*s\' is of a not allowed type for this type of partitioning");
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_ERR_TOO_LONG_IDENT, -5179, ER_TOO_LONG_IDENT, "42000", "Identifier name is too long", "Identifier name \'%.*s\' is too long", 972, "identifier is too long", "identifier \'%.*s\' is too long");
|
||||
DEFINE_ERROR_EXT(OB_ERR_WRONG_TYPE_FOR_VAR, -5180, ER_WRONG_TYPE_FOR_VAR, "42000", "Incorrect argument type to variable", "Incorrect argument type to variable '%.*s'");
|
||||
DEFINE_ERROR_EXT(OB_WRONG_USER_NAME_LENGTH, -5181, ER_WRONG_STRING_LENGTH, "HY000", "String is too long for user_name (should be no longer than 16)", "String '%.*s' is too long for user name (should be no longer than 16)");
|
||||
DEFINE_ERROR_EXT(OB_WRONG_USER_NAME_LENGTH, -5181, ER_WRONG_STRING_LENGTH, "HY000", "String is too long for user_name (should be no longer than 64)", "String '%.*s' is too long for user name (should be no longer than 64)");
|
||||
DEFINE_ERROR(OB_ERR_PRIV_USAGE, -5182, ER_WRONG_USAGE, "HY000", "Incorrect usage of DB GRANT and GLOBAL PRIVILEGES");
|
||||
DEFINE_ERROR(OB_ILLEGAL_GRANT_FOR_TABLE, -5183, ER_ILLEGAL_GRANT_FOR_TABLE, "42000", "Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used");
|
||||
DEFINE_ERROR(OB_ERR_REACH_AUTOINC_MAX, -5184, ER_AUTOINC_READ_FAILED, "HY000", "Failed to read auto-increment value from storage engine");
|
||||
|
||||
@ -2478,7 +2478,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD__USER_ERROR_MSG "Field \'%.*s\' is of a not allowed type for this type of partitioning"
|
||||
#define OB_ERR_TOO_LONG_IDENT__USER_ERROR_MSG "Identifier name \'%.*s\' is too long"
|
||||
#define OB_ERR_WRONG_TYPE_FOR_VAR__USER_ERROR_MSG "Incorrect argument type to variable '%.*s'"
|
||||
#define OB_WRONG_USER_NAME_LENGTH__USER_ERROR_MSG "String '%.*s' is too long for user name (should be no longer than 16)"
|
||||
#define OB_WRONG_USER_NAME_LENGTH__USER_ERROR_MSG "String '%.*s' is too long for user name (should be no longer than 64)"
|
||||
#define OB_ERR_PRIV_USAGE__USER_ERROR_MSG "Incorrect usage of DB GRANT and GLOBAL PRIVILEGES"
|
||||
#define OB_ILLEGAL_GRANT_FOR_TABLE__USER_ERROR_MSG "Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used"
|
||||
#define OB_ERR_REACH_AUTOINC_MAX__USER_ERROR_MSG "Failed to read auto-increment value from storage engine"
|
||||
@ -4577,7 +4577,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_FIELD_TYPE_NOT_ALLOWED_AS_PARTITION_FIELD__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5178, Field \'%.*s\' is of a not allowed type for this type of partitioning"
|
||||
#define OB_ERR_TOO_LONG_IDENT__ORA_USER_ERROR_MSG "ORA-00972: identifier \'%.*s\' is too long"
|
||||
#define OB_ERR_WRONG_TYPE_FOR_VAR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5180, Incorrect argument type to variable '%.*s'"
|
||||
#define OB_WRONG_USER_NAME_LENGTH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5181, String '%.*s' is too long for user name (should be no longer than 16)"
|
||||
#define OB_WRONG_USER_NAME_LENGTH__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5181, String '%.*s' is too long for user name (should be no longer than 64)"
|
||||
#define OB_ERR_PRIV_USAGE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5182, Incorrect usage of DB GRANT and GLOBAL PRIVILEGES"
|
||||
#define OB_ILLEGAL_GRANT_FOR_TABLE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5183, Illegal GRANT/REVOKE command; please consult the manual to see which privileges can be used"
|
||||
#define OB_ERR_REACH_AUTOINC_MAX__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5184, Failed to read auto-increment value from storage engine"
|
||||
|
||||
Reference in New Issue
Block a user