[to #2024090500104381084]utl_tcp and utl_smtp add errcode occupancy
This commit is contained in:
parent
5530a54699
commit
c0e038b606
File diff suppressed because one or more lines are too long
@ -2651,6 +2651,22 @@ DEFINE_ORACLE_ERROR(OB_ERR_INVALID_CHARACTER, -9782, -1, "HY000", "invalid chara
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_ERR_MVIEW_CAN_NOT_ON_QUERY_COMPUTE, -9783, -1, "HY000", "cannot ENABLE ON QUERY COMPUTATION for the materialized view", "cannot ENABLE ON QUERY COMPUTATION for the materialized view `%s`.`%s`", 32361, "cannot ENABLE ON QUERY COMPUTATION for the materialized view", "cannot ENABLE ON QUERY COMPUTATION for the materialized view %s.%s");
|
||||
DEFINE_PLS_ERROR_EXT(OB_ERR_CURSOR_ATTR_APPLY, -9784, -1, "HY000", "cursor attribute may not be applied to non-cursor", "cursor attribute may not be applied to non-cursor %.*s", 324, "cursor attribute may not be applied to non-cursor", "cursor attribute may not be applied to non-cursor %.*s");
|
||||
|
||||
DEFINE_ORACLE_ERROR(OB_UTL_TCP_BUFFER_TOO_SMALL, -9785, -1, "HY000", "buffer too small", 29258, "buffer too small");
|
||||
DEFINE_ORACLE_ERROR(OB_UTL_TCP_END_OF_INPUT, -9786, -1, "HY000", "end-of-input reached", 29259, "end-of-input reached");
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_UTL_TCP_NETWORK_ERROR, -9787, -1, "HY000", "network error:", "network error: %.*s", 29260, "network error:", "network error: %.*s");
|
||||
DEFINE_ORACLE_ERROR(OB_UTL_TCP_BAD_ARGUMENT, -9788, -1, "HY000", "bad argument", 29261, "bad argument");
|
||||
DEFINE_ORACLE_ERROR(OB_UTL_TCP_PARTIAL_MULTIBYTE_CHAR, -9789, -1, "HY000", "partial multibyte character", 29275, "partial multibyte character");
|
||||
DEFINE_ORACLE_ERROR(OB_UTL_TCP_TRANSFER_TIMEOUT, -9790, -1, "HY000", "transfer timeout", 29276, "transfer timeout");
|
||||
DEFINE_ORACLE_ERROR(OB_UTL_TCP_NETWORK_ACCCESS_DENIED, -9791, -1, "HY000", "network access denied by access control list (ACL)", 24247, "network access denied by access control list (ACL)");
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_UTL_TCP_TOO_MANY_CONNS, -9792, -1, "HY000", "too many open connections", 30678, "too many open connections");
|
||||
DEFINE_ORACLE_ERROR(OB_UTL_TCP_SECURITY_VIOLATION, -9793, -1, "HY000", "security violation", 53203, "security violation");
|
||||
|
||||
DEFINE_ORACLE_ERROR(OB_UTL_SMTP_INVALID_OPERATION, -9794, -1, "HY000", "invalid SMTP operation", 29277, "invalid SMTP operation");
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_UTL_SMTP_TRANSIENT_ERROR, -9795, -1, "HY000", "SMTP transient error:", "SMTP transient error: %.*s", 29278, "SMTP transient error:", "SMTP transient error: %.*s");
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_UTL_SMTP_PERMANENT_ERROR, -9796, -1, "HY000", "SMTP permanent error:", "SMTP permanent error: %.*s", 29279, "SMTP permanent error:", "SMTP permanent error: %.*s");
|
||||
DEFINE_ORACLE_ERROR_EXT(OB_UTL_SMTP_UNSUPPORTED_SCHEME, -9797, -1, "HY000", "Authentication scheme '' not supported", "Authentication scheme '%.*s' not supported", 24249, "Authentication scheme '' not supported", "Authentication scheme '%.*s' not supported");
|
||||
DEFINE_ORACLE_ERROR(OB_UTL_SMTP_NO_SUPPORTED_SCHEME, -9798, -1, "HY000", "No supported authentication scheme found", 24250, "No supported authentication scheme found");
|
||||
|
||||
// 余留位置
|
||||
////////////////////////////////////////////////////////////////
|
||||
// PL/SQL错误码值域 [-9500, -10000)
|
||||
|
@ -1872,6 +1872,20 @@ constexpr int OB_NO_PARTITION_FOR_GIVEN_VALUE_SCHEMA_ERROR = -9781;
|
||||
constexpr int OB_ERR_INVALID_CHARACTER = -9782;
|
||||
constexpr int OB_ERR_MVIEW_CAN_NOT_ON_QUERY_COMPUTE = -9783;
|
||||
constexpr int OB_ERR_CURSOR_ATTR_APPLY = -9784;
|
||||
constexpr int OB_UTL_TCP_BUFFER_TOO_SMALL = -9785;
|
||||
constexpr int OB_UTL_TCP_END_OF_INPUT = -9786;
|
||||
constexpr int OB_UTL_TCP_NETWORK_ERROR = -9787;
|
||||
constexpr int OB_UTL_TCP_BAD_ARGUMENT = -9788;
|
||||
constexpr int OB_UTL_TCP_PARTIAL_MULTIBYTE_CHAR = -9789;
|
||||
constexpr int OB_UTL_TCP_TRANSFER_TIMEOUT = -9790;
|
||||
constexpr int OB_UTL_TCP_NETWORK_ACCCESS_DENIED = -9791;
|
||||
constexpr int OB_ERR_UTL_TCP_TOO_MANY_CONNS = -9792;
|
||||
constexpr int OB_UTL_TCP_SECURITY_VIOLATION = -9793;
|
||||
constexpr int OB_UTL_SMTP_INVALID_OPERATION = -9794;
|
||||
constexpr int OB_UTL_SMTP_TRANSIENT_ERROR = -9795;
|
||||
constexpr int OB_UTL_SMTP_PERMANENT_ERROR = -9796;
|
||||
constexpr int OB_UTL_SMTP_UNSUPPORTED_SCHEME = -9797;
|
||||
constexpr int OB_UTL_SMTP_NO_SUPPORTED_SCHEME = -9798;
|
||||
constexpr int OB_ERR_KV_GLOBAL_INDEX_ROUTE = -10500;
|
||||
constexpr int OB_TTL_NOT_ENABLE = -10501;
|
||||
constexpr int OB_TTL_COLUMN_NOT_EXIST = -10502;
|
||||
@ -4181,6 +4195,20 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_INVALID_CHARACTER__USER_ERROR_MSG "invalid character"
|
||||
#define OB_ERR_MVIEW_CAN_NOT_ON_QUERY_COMPUTE__USER_ERROR_MSG "cannot ENABLE ON QUERY COMPUTATION for the materialized view `%s`.`%s`"
|
||||
#define OB_ERR_CURSOR_ATTR_APPLY__USER_ERROR_MSG "cursor attribute may not be applied to non-cursor %.*s"
|
||||
#define OB_UTL_TCP_BUFFER_TOO_SMALL__USER_ERROR_MSG "buffer too small"
|
||||
#define OB_UTL_TCP_END_OF_INPUT__USER_ERROR_MSG "end-of-input reached"
|
||||
#define OB_UTL_TCP_NETWORK_ERROR__USER_ERROR_MSG "network error: %.*s"
|
||||
#define OB_UTL_TCP_BAD_ARGUMENT__USER_ERROR_MSG "bad argument"
|
||||
#define OB_UTL_TCP_PARTIAL_MULTIBYTE_CHAR__USER_ERROR_MSG "partial multibyte character"
|
||||
#define OB_UTL_TCP_TRANSFER_TIMEOUT__USER_ERROR_MSG "transfer timeout"
|
||||
#define OB_UTL_TCP_NETWORK_ACCCESS_DENIED__USER_ERROR_MSG "network access denied by access control list (ACL)"
|
||||
#define OB_ERR_UTL_TCP_TOO_MANY_CONNS__USER_ERROR_MSG "too many open connections"
|
||||
#define OB_UTL_TCP_SECURITY_VIOLATION__USER_ERROR_MSG "security violation"
|
||||
#define OB_UTL_SMTP_INVALID_OPERATION__USER_ERROR_MSG "invalid SMTP operation"
|
||||
#define OB_UTL_SMTP_TRANSIENT_ERROR__USER_ERROR_MSG "SMTP transient error: %.*s"
|
||||
#define OB_UTL_SMTP_PERMANENT_ERROR__USER_ERROR_MSG "SMTP permanent error: %.*s"
|
||||
#define OB_UTL_SMTP_UNSUPPORTED_SCHEME__USER_ERROR_MSG "Authentication scheme '%.*s' not supported"
|
||||
#define OB_UTL_SMTP_NO_SUPPORTED_SCHEME__USER_ERROR_MSG "No supported authentication scheme found"
|
||||
#define OB_ERR_KV_GLOBAL_INDEX_ROUTE__USER_ERROR_MSG "incorrect route for obkv global index, client router should refresh."
|
||||
#define OB_TTL_NOT_ENABLE__USER_ERROR_MSG "TTL feature is not enabled"
|
||||
#define OB_TTL_COLUMN_NOT_EXIST__USER_ERROR_MSG "TTL column '%.*s' not exists"
|
||||
@ -8778,6 +8806,34 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_MVIEW_CAN_NOT_ON_QUERY_COMPUTE__OBE_USER_ERROR_MSG "OBE-32361: cannot ENABLE ON QUERY COMPUTATION for the materialized view %s.%s"
|
||||
#define OB_ERR_CURSOR_ATTR_APPLY__ORA_USER_ERROR_MSG "PLS-00324: cursor attribute may not be applied to non-cursor %.*s"
|
||||
#define OB_ERR_CURSOR_ATTR_APPLY__OBE_USER_ERROR_MSG "PLS-00324: cursor attribute may not be applied to non-cursor %.*s"
|
||||
#define OB_UTL_TCP_BUFFER_TOO_SMALL__ORA_USER_ERROR_MSG "ORA-29258: buffer too small"
|
||||
#define OB_UTL_TCP_BUFFER_TOO_SMALL__OBE_USER_ERROR_MSG "OBE-29258: buffer too small"
|
||||
#define OB_UTL_TCP_END_OF_INPUT__ORA_USER_ERROR_MSG "ORA-29259: end-of-input reached"
|
||||
#define OB_UTL_TCP_END_OF_INPUT__OBE_USER_ERROR_MSG "OBE-29259: end-of-input reached"
|
||||
#define OB_UTL_TCP_NETWORK_ERROR__ORA_USER_ERROR_MSG "ORA-29260: network error: %.*s"
|
||||
#define OB_UTL_TCP_NETWORK_ERROR__OBE_USER_ERROR_MSG "OBE-29260: network error: %.*s"
|
||||
#define OB_UTL_TCP_BAD_ARGUMENT__ORA_USER_ERROR_MSG "ORA-29261: bad argument"
|
||||
#define OB_UTL_TCP_BAD_ARGUMENT__OBE_USER_ERROR_MSG "OBE-29261: bad argument"
|
||||
#define OB_UTL_TCP_PARTIAL_MULTIBYTE_CHAR__ORA_USER_ERROR_MSG "ORA-29275: partial multibyte character"
|
||||
#define OB_UTL_TCP_PARTIAL_MULTIBYTE_CHAR__OBE_USER_ERROR_MSG "OBE-29275: partial multibyte character"
|
||||
#define OB_UTL_TCP_TRANSFER_TIMEOUT__ORA_USER_ERROR_MSG "ORA-29276: transfer timeout"
|
||||
#define OB_UTL_TCP_TRANSFER_TIMEOUT__OBE_USER_ERROR_MSG "OBE-29276: transfer timeout"
|
||||
#define OB_UTL_TCP_NETWORK_ACCCESS_DENIED__ORA_USER_ERROR_MSG "ORA-24247: network access denied by access control list (ACL)"
|
||||
#define OB_UTL_TCP_NETWORK_ACCCESS_DENIED__OBE_USER_ERROR_MSG "OBE-24247: network access denied by access control list (ACL)"
|
||||
#define OB_ERR_UTL_TCP_TOO_MANY_CONNS__ORA_USER_ERROR_MSG "ORA-30678: too many open connections"
|
||||
#define OB_ERR_UTL_TCP_TOO_MANY_CONNS__OBE_USER_ERROR_MSG "OBE-30678: too many open connections"
|
||||
#define OB_UTL_TCP_SECURITY_VIOLATION__ORA_USER_ERROR_MSG "ORA-53203: security violation"
|
||||
#define OB_UTL_TCP_SECURITY_VIOLATION__OBE_USER_ERROR_MSG "OBE-53203: security violation"
|
||||
#define OB_UTL_SMTP_INVALID_OPERATION__ORA_USER_ERROR_MSG "ORA-29277: invalid SMTP operation"
|
||||
#define OB_UTL_SMTP_INVALID_OPERATION__OBE_USER_ERROR_MSG "OBE-29277: invalid SMTP operation"
|
||||
#define OB_UTL_SMTP_TRANSIENT_ERROR__ORA_USER_ERROR_MSG "ORA-29278: SMTP transient error: %.*s"
|
||||
#define OB_UTL_SMTP_TRANSIENT_ERROR__OBE_USER_ERROR_MSG "OBE-29278: SMTP transient error: %.*s"
|
||||
#define OB_UTL_SMTP_PERMANENT_ERROR__ORA_USER_ERROR_MSG "ORA-29279: SMTP permanent error: %.*s"
|
||||
#define OB_UTL_SMTP_PERMANENT_ERROR__OBE_USER_ERROR_MSG "OBE-29279: SMTP permanent error: %.*s"
|
||||
#define OB_UTL_SMTP_UNSUPPORTED_SCHEME__ORA_USER_ERROR_MSG "ORA-24249: Authentication scheme '%.*s' not supported"
|
||||
#define OB_UTL_SMTP_UNSUPPORTED_SCHEME__OBE_USER_ERROR_MSG "OBE-24249: Authentication scheme '%.*s' not supported"
|
||||
#define OB_UTL_SMTP_NO_SUPPORTED_SCHEME__ORA_USER_ERROR_MSG "ORA-24250: No supported authentication scheme found"
|
||||
#define OB_UTL_SMTP_NO_SUPPORTED_SCHEME__OBE_USER_ERROR_MSG "OBE-24250: No supported authentication scheme found"
|
||||
#define OB_ERR_KV_GLOBAL_INDEX_ROUTE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -10500, incorrect route for obkv global index, client router should refresh."
|
||||
#define OB_ERR_KV_GLOBAL_INDEX_ROUTE__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -10500, incorrect route for obkv global index, client router should refresh."
|
||||
#define OB_TTL_NOT_ENABLE__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -10501, TTL feature is not enabled"
|
||||
@ -8961,7 +9017,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#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__OBE_USER_ERROR_MSG "OBE-01861: Incorrect datetime value for column '%.*s' at row %ld"
|
||||
|
||||
extern int g_all_ob_errnos[2341];
|
||||
extern int g_all_ob_errnos[2355];
|
||||
|
||||
const char *ob_error_name(const int oberr);
|
||||
const char* ob_error_cause(const int oberr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user