Placeholder for error code, item type and system variable

This commit is contained in:
obdev
2022-12-05 08:36:01 +00:00
committed by ob-robot
parent cb76404a56
commit 9b1a295283
13 changed files with 1544 additions and 1215 deletions

View File

@ -7551,11 +7551,11 @@ static const _error _error_OB_ERR_REGEXP_ERROR = {
.error_solution = "Contact OceanBase Support",
.mysql_errno = ER_REGEXP_ERROR,
.sqlstate = "42000",
.str_error = "Got error 'empty (sub)expression' from regexp",
.str_user_error = "Got error 'empty (sub)expression' from regexp",
.str_error = "Got error from regexp",
.str_user_error = "Got error '%s' from regexp",
.oracle_errno = 600,
.oracle_str_error = "ORA-00600: internal error code, arguments: -5115, Got error 'empty (sub)expression' from regexp",
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5115, Got error 'empty (sub)expression' from regexp"
.oracle_str_error = "ORA-00600: internal error code, arguments: -5115, Got error from regexp",
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5115, Got error '%s' from regexp"
};
static const _error _error_OB_SQL_LOG_OP_SETCHILD_OVERFLOW = {
.error_name = "OB_SQL_LOG_OP_SETCHILD_OVERFLOW",
@ -10737,6 +10737,54 @@ static const _error _error_OB_ERR_COLUMN_GROUP_DUPLICATE = {
.oracle_str_error = "ORA-00600: internal error code, arguments: -5404, Duplicate column group name",
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5404, Duplicate column group name '%.*s'"
};
static const _error _error_OB_ERR_RESERVED_SYNTAX = {
.error_name = "OB_ERR_RESERVED_SYNTAX",
.error_cause = "Internal Error",
.error_solution = "Contact OceanBase Support",
.mysql_errno = ER_RESERVED_SYNTAX,
.sqlstate = "HY000",
.str_error = "The \'%.*s\' syntax is reserved for purposes internal to the OceanBase Server",
.str_user_error = "The \'%.*s\' syntax is reserved for purposes internal to the OceanBase Server",
.oracle_errno = 600,
.oracle_str_error = "ORA-00600: internal error code, arguments: -5405, The \'%.*s\' syntax is reserved for purposes internal to the OceanBase Server",
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5405, The \'%.*s\' syntax is reserved for purposes internal to the OceanBase Server"
};
static const _error _error_OB_ERR_INVALID_PARAM_TO_PROCEDURE = {
.error_name = "OB_ERR_INVALID_PARAM_TO_PROCEDURE",
.error_cause = "Internal Error",
.error_solution = "Contact OceanBase Support",
.mysql_errno = ER_WRONG_PARAMETERS_TO_PROCEDURE,
.sqlstate = "HY000",
.str_error = "Incorrect parameters to procedure \'%.*s\'",
.str_user_error = "Incorrect parameters to procedure \'%.*s\'",
.oracle_errno = 600,
.oracle_str_error = "ORA-00600: internal error code, arguments: -5406, Incorrect parameters to procedure \'%.*s\'",
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5406, Incorrect parameters to procedure \'%.*s\'"
};
static const _error _error_OB_ERR_WRONG_PARAMETERS_TO_NATIVE_FCT = {
.error_name = "OB_ERR_WRONG_PARAMETERS_TO_NATIVE_FCT",
.error_cause = "Internal Error",
.error_solution = "Contact OceanBase Support",
.mysql_errno = ER_WRONG_PARAMETERS_TO_NATIVE_FCT,
.sqlstate = "42000",
.str_error = "Incorrect parameters in the call to native function",
.str_user_error = "Incorrect parameters in the call to native function '%.*s'",
.oracle_errno = 600,
.oracle_str_error = "ORA-00600: internal error code, arguments: -5407, Incorrect parameters in the call to native function",
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5407, Incorrect parameters in the call to native function '%.*s'"
};
static const _error _error_OB_ERR_CTE_MAX_RECURSION_DEPTH = {
.error_name = "OB_ERR_CTE_MAX_RECURSION_DEPTH",
.error_cause = "Internal Error",
.error_solution = "Contact OceanBase Support",
.mysql_errno = ER_CTE_MAX_RECURSION_DEPTH,
.sqlstate = "HY000",
.str_error = "Recursive query aborted after multiple iterations. Try increasing @@cte_max_recursion_depth to a larger value.",
.str_user_error = "Recursive query aborted after %lu iterations. Try increasing @@cte_max_recursion_depth to a larger value.",
.oracle_errno = 600,
.oracle_str_error = "ORA-00600: internal error code, arguments: -5408, Recursive query aborted after multiple iterations. Try increasing @@cte_max_recursion_depth to a larger value.",
.oracle_str_user_error = "ORA-00600: internal error code, arguments: -5408, Recursive query aborted after %lu iterations. Try increasing @@cte_max_recursion_depth to a larger value."
};
static const _error _error_OB_ERR_INVALID_JSON_TEXT = {
.error_name = "OB_ERR_INVALID_JSON_TEXT",
.error_cause = "Internal Error",
@ -22905,6 +22953,10 @@ struct ObStrErrorInit
_errors[-OB_ERR_GET_STACKED_DIAGNOSTICS] = &_error_OB_ERR_GET_STACKED_DIAGNOSTICS;
_errors[-OB_DDL_SCHEMA_VERSION_NOT_MATCH] = &_error_OB_DDL_SCHEMA_VERSION_NOT_MATCH;
_errors[-OB_ERR_COLUMN_GROUP_DUPLICATE] = &_error_OB_ERR_COLUMN_GROUP_DUPLICATE;
_errors[-OB_ERR_RESERVED_SYNTAX] = &_error_OB_ERR_RESERVED_SYNTAX;
_errors[-OB_ERR_INVALID_PARAM_TO_PROCEDURE] = &_error_OB_ERR_INVALID_PARAM_TO_PROCEDURE;
_errors[-OB_ERR_WRONG_PARAMETERS_TO_NATIVE_FCT] = &_error_OB_ERR_WRONG_PARAMETERS_TO_NATIVE_FCT;
_errors[-OB_ERR_CTE_MAX_RECURSION_DEPTH] = &_error_OB_ERR_CTE_MAX_RECURSION_DEPTH;
_errors[-OB_ERR_INVALID_JSON_TEXT] = &_error_OB_ERR_INVALID_JSON_TEXT;
_errors[-OB_ERR_INVALID_JSON_TEXT_IN_PARAM] = &_error_OB_ERR_INVALID_JSON_TEXT_IN_PARAM;
_errors[-OB_ERR_INVALID_JSON_BINARY_DATA] = &_error_OB_ERR_INVALID_JSON_BINARY_DATA;