[to #48156488] add error code OB_ERR_VARIABLE_NOT_IN_SELECT_LIST placeholder
This commit is contained in:
@ -24321,6 +24321,18 @@ static const _error _error_OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS = {
|
|||||||
.oracle_str_error = "ORA-08006: specified row no longer exists",
|
.oracle_str_error = "ORA-08006: specified row no longer exists",
|
||||||
.oracle_str_user_error = "ORA-08006: specified row no longer exists"
|
.oracle_str_user_error = "ORA-08006: specified row no longer exists"
|
||||||
};
|
};
|
||||||
|
static const _error _error_OB_ERR_VARIABLE_NOT_IN_SELECT_LIST = {
|
||||||
|
.error_name = "OB_ERR_VARIABLE_NOT_IN_SELECT_LIST",
|
||||||
|
.error_cause = "Internal Error",
|
||||||
|
.error_solution = "Contact OceanBase Support",
|
||||||
|
.mysql_errno = -1,
|
||||||
|
.sqlstate = "HY000",
|
||||||
|
.str_error = "variable not in select list",
|
||||||
|
.str_user_error = "variable not in select list",
|
||||||
|
.oracle_errno = 1007,
|
||||||
|
.oracle_str_error = "ORA-01007: variable not in select list",
|
||||||
|
.oracle_str_user_error = "ORA-01007: variable not in select list"
|
||||||
|
};
|
||||||
|
|
||||||
struct ObStrErrorInit
|
struct ObStrErrorInit
|
||||||
{
|
{
|
||||||
@ -26353,6 +26365,7 @@ struct ObStrErrorInit
|
|||||||
_errors[-OB_ERR_FLASHBACK_QUERY_WITH_UPDATE] = &_error_OB_ERR_FLASHBACK_QUERY_WITH_UPDATE;
|
_errors[-OB_ERR_FLASHBACK_QUERY_WITH_UPDATE] = &_error_OB_ERR_FLASHBACK_QUERY_WITH_UPDATE;
|
||||||
_errors[-OB_ERR_UPDATE_ON_EXPR] = &_error_OB_ERR_UPDATE_ON_EXPR;
|
_errors[-OB_ERR_UPDATE_ON_EXPR] = &_error_OB_ERR_UPDATE_ON_EXPR;
|
||||||
_errors[-OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS] = &_error_OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS;
|
_errors[-OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS] = &_error_OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS;
|
||||||
|
_errors[-OB_ERR_VARIABLE_NOT_IN_SELECT_LIST] = &_error_OB_ERR_VARIABLE_NOT_IN_SELECT_LIST;
|
||||||
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@ -2223,6 +2223,7 @@ DEFINE_ORACLE_ERROR(OB_ERR_ATTRIBUTE_ASSOCIATION, -9741, -1, "HY000", "Attribute
|
|||||||
DEFINE_ORACLE_ERROR(OB_ERR_MERGE_INTO_WITH_POLICY, -9742, -1, "HY000", "The MERGE INTO syntax does not support the security policy", 28132, "The MERGE INTO syntax does not support the security policy");
|
DEFINE_ORACLE_ERROR(OB_ERR_MERGE_INTO_WITH_POLICY, -9742, -1, "HY000", "The MERGE INTO syntax does not support the security policy", 28132, "The MERGE INTO syntax does not support the security policy");
|
||||||
DEFINE_ERROR_EXT(OB_ERR_SP_NO_DROP_SP, -9743, ER_SP_NO_DROP_SP, "HY000", "Can't drop or alter a procedure/function from within another stored routine.", "Can't drop or alter a '%s' from within another stored routine.");
|
DEFINE_ERROR_EXT(OB_ERR_SP_NO_DROP_SP, -9743, ER_SP_NO_DROP_SP, "HY000", "Can't drop or alter a procedure/function from within another stored routine.", "Can't drop or alter a '%s' from within another stored routine.");
|
||||||
DEFINE_ORACLE_ERROR(OB_ERR_RECOMPILATION_OBJECT, -9744, -1, "HY000", "errors during recompilation/revalidation of object", 4045, "errors during recompilation/revalidation of %.*s.%.*s");
|
DEFINE_ORACLE_ERROR(OB_ERR_RECOMPILATION_OBJECT, -9744, -1, "HY000", "errors during recompilation/revalidation of object", 4045, "errors during recompilation/revalidation of %.*s.%.*s");
|
||||||
|
DEFINE_ORACLE_ERROR(OB_ERR_VARIABLE_NOT_IN_SELECT_LIST, -9745, -1, "HY000", "variable not in select list", 1007, "variable not in select list");
|
||||||
////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////
|
||||||
// !!! text/blob || clob/blob erro code
|
// !!! text/blob || clob/blob erro code
|
||||||
// for compat we cant not remove this errno!!!!
|
// for compat we cant not remove this errno!!!!
|
||||||
|
|||||||
@ -1685,6 +1685,7 @@ constexpr int OB_ERR_ATTRIBUTE_ASSOCIATION = -9741;
|
|||||||
constexpr int OB_ERR_MERGE_INTO_WITH_POLICY = -9742;
|
constexpr int OB_ERR_MERGE_INTO_WITH_POLICY = -9742;
|
||||||
constexpr int OB_ERR_SP_NO_DROP_SP = -9743;
|
constexpr int OB_ERR_SP_NO_DROP_SP = -9743;
|
||||||
constexpr int OB_ERR_RECOMPILATION_OBJECT = -9744;
|
constexpr int OB_ERR_RECOMPILATION_OBJECT = -9744;
|
||||||
|
constexpr int OB_ERR_VARIABLE_NOT_IN_SELECT_LIST = -9745;
|
||||||
constexpr int OB_SP_RAISE_APPLICATION_ERROR = -20000;
|
constexpr int OB_SP_RAISE_APPLICATION_ERROR = -20000;
|
||||||
constexpr int OB_SP_RAISE_APPLICATION_ERROR_NUM = -21000;
|
constexpr int OB_SP_RAISE_APPLICATION_ERROR_NUM = -21000;
|
||||||
constexpr int OB_CLOB_ONLY_SUPPORT_WITH_MULTIBYTE_FUN = -22998;
|
constexpr int OB_CLOB_ONLY_SUPPORT_WITH_MULTIBYTE_FUN = -22998;
|
||||||
@ -3722,6 +3723,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
|||||||
#define OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS__USER_ERROR_MSG "specified row no longer exists"
|
#define OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS__USER_ERROR_MSG "specified row no longer exists"
|
||||||
#define OB_ERR_DATA_TOO_LONG_MSG_FMT_V2__USER_ERROR_MSG "Data too long for column '%.*s' at row %ld"
|
#define OB_ERR_DATA_TOO_LONG_MSG_FMT_V2__USER_ERROR_MSG "Data too long for column '%.*s' at row %ld"
|
||||||
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__USER_ERROR_MSG "Incorrect datetime value for column '%.*s' at row %ld"
|
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__USER_ERROR_MSG "Incorrect datetime value for column '%.*s' at row %ld"
|
||||||
|
#define OB_ERR_VARIABLE_NOT_IN_SELECT_LIST__USER_ERROR_MSG "variable not in select list"
|
||||||
|
|
||||||
|
|
||||||
#define OB_SUCCESS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: 0, Success"
|
#define OB_SUCCESS__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: 0, Success"
|
||||||
@ -5750,6 +5752,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
|||||||
#define OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS__ORA_USER_ERROR_MSG "ORA-08006: specified row no longer exists"
|
#define OB_ERR_SPECIFIED_ROW_NO_LONGER_EXISTS__ORA_USER_ERROR_MSG "ORA-08006: specified row no longer exists"
|
||||||
#define OB_ERR_DATA_TOO_LONG_MSG_FMT_V2__ORA_USER_ERROR_MSG "ORA-12899: value too large for column %.*s (actual: %ld, maximum: %ld)"
|
#define OB_ERR_DATA_TOO_LONG_MSG_FMT_V2__ORA_USER_ERROR_MSG "ORA-12899: value too large for column %.*s (actual: %ld, maximum: %ld)"
|
||||||
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__ORA_USER_ERROR_MSG "ORA-01861: Incorrect datetime value for column '%.*s' at row %ld"
|
#define OB_ERR_INVALID_DATE_MSG_FMT_V2__ORA_USER_ERROR_MSG "ORA-01861: Incorrect datetime value for column '%.*s' at row %ld"
|
||||||
|
#define OB_ERR_VARIABLE_NOT_IN_SELECT_LIST__ORA_USER_ERROR_MSG "ORA-01007: variable not in select list"
|
||||||
|
|
||||||
extern int g_all_ob_errnos[2024];
|
extern int g_all_ob_errnos[2024];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user