add OB_IO_TIMEOUT error code
This commit is contained in:
parent
f761eb0cb9
commit
d731837e67
File diff suppressed because one or more lines are too long
@ -473,6 +473,7 @@ DEFINE_ERROR(OB_AUTOINC_CACHE_NOT_EQUAL, -4400, -1, "HY000", "Autoinc cache's au
|
||||
DEFINE_ORACLE_ERROR(OB_ERR_KILL_CLIENT_SESSION, -4401, 4401, "HY000", "Client Session need be killed", 4401, "Client Session need be killed");
|
||||
DEFINE_ERROR(OB_ERR_KILL_CLIENT_SESSION_FAILED, -4402, -1, "HY000", "Kill Client Session failed");
|
||||
DEFINE_ERROR(OB_IMPROPER_OS_PARAM, -4403, -1, "HY000", "OS params check failed, because the operating system has improper parameter configurations");
|
||||
DEFINE_ERROR(OB_IO_TIMEOUT, -4404, 4012, "HY000", "IO timeout");
|
||||
|
||||
// 余留位置
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
@ -269,6 +269,7 @@ constexpr int OB_AUTOINC_CACHE_NOT_EQUAL = -4400;
|
||||
constexpr int OB_ERR_KILL_CLIENT_SESSION = -4401;
|
||||
constexpr int OB_ERR_KILL_CLIENT_SESSION_FAILED = -4402;
|
||||
constexpr int OB_IMPROPER_OS_PARAM = -4403;
|
||||
constexpr int OB_IO_TIMEOUT = -4404;
|
||||
constexpr int OB_IMPORT_NOT_IN_SERVER = -4505;
|
||||
constexpr int OB_CONVERT_ERROR = -4507;
|
||||
constexpr int OB_BYPASS_TIMEOUT = -4510;
|
||||
@ -2289,6 +2290,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_KILL_CLIENT_SESSION__USER_ERROR_MSG "Client Session need be killed"
|
||||
#define OB_ERR_KILL_CLIENT_SESSION_FAILED__USER_ERROR_MSG "Kill Client Session failed"
|
||||
#define OB_IMPROPER_OS_PARAM__USER_ERROR_MSG "OS params check failed, because the operating system has improper parameter configurations"
|
||||
#define OB_IO_TIMEOUT__USER_ERROR_MSG "IO timeout"
|
||||
#define OB_IMPORT_NOT_IN_SERVER__USER_ERROR_MSG "Import not in service"
|
||||
#define OB_CONVERT_ERROR__USER_ERROR_MSG "Convert error"
|
||||
#define OB_BYPASS_TIMEOUT__USER_ERROR_MSG "Bypass timeout"
|
||||
@ -4985,6 +4987,8 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
||||
#define OB_ERR_KILL_CLIENT_SESSION_FAILED__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -4402, Kill Client Session failed"
|
||||
#define OB_IMPROPER_OS_PARAM__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4403, OS params check failed, because the operating system has improper parameter configurations"
|
||||
#define OB_IMPROPER_OS_PARAM__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -4403, OS params check failed, because the operating system has improper parameter configurations"
|
||||
#define OB_IO_TIMEOUT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4404, IO timeout"
|
||||
#define OB_IO_TIMEOUT__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -4404, IO timeout"
|
||||
#define OB_IMPORT_NOT_IN_SERVER__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4505, Import not in service"
|
||||
#define OB_IMPORT_NOT_IN_SERVER__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -4505, Import not in service"
|
||||
#define OB_CONVERT_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4507, Convert error"
|
||||
@ -8918,7 +8922,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[2328];
|
||||
extern int g_all_ob_errnos[2329];
|
||||
|
||||
const char *ob_error_name(const int oberr);
|
||||
const char* ob_error_cause(const int oberr);
|
||||
|
@ -174,7 +174,7 @@ public:
|
||||
};
|
||||
|
||||
// The length of the second dimension, in order to solve the conflict of multiple identical error codes
|
||||
constexpr int OB_MAX_SAME_ERROR_COUNT = 10;
|
||||
constexpr int OB_MAX_SAME_ERROR_COUNT = 11;
|
||||
constexpr int ORACLE_SPECIAL_ERROR_CODE = 600;
|
||||
constexpr int ORACLE_MAX_ERROR_CODE = 65535;
|
||||
constexpr int ORACLE_MSG_PREFIX = 11; // strlen("OBE-00000: ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user