|
|
|
@ -471,6 +471,9 @@ constexpr int OB_ERR_INDEX_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION = -4776;
|
|
|
|
constexpr int OB_ERR_CHECK_CONSTRAINT_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION = -4777;
|
|
|
|
constexpr int OB_ERR_CHECK_CONSTRAINT_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION = -4777;
|
|
|
|
constexpr int OB_ERR_FOREIGN_KEY_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION = -4778;
|
|
|
|
constexpr int OB_ERR_FOREIGN_KEY_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION = -4778;
|
|
|
|
constexpr int OB_ERR_EXCHANGE_COMPOSITE_PARTITION = -4779;
|
|
|
|
constexpr int OB_ERR_EXCHANGE_COMPOSITE_PARTITION = -4779;
|
|
|
|
|
|
|
|
constexpr int OB_SERVICE_NAME_NOT_FOUND = -4780;
|
|
|
|
|
|
|
|
constexpr int OB_SERVICE_NOT_FULLY_STARTED = -4781;
|
|
|
|
|
|
|
|
constexpr int OB_NOT_PRIMARY_TENANT = -4782;
|
|
|
|
constexpr int OB_ERR_PARSER_INIT = -5000;
|
|
|
|
constexpr int OB_ERR_PARSER_INIT = -5000;
|
|
|
|
constexpr int OB_ERR_PARSE_SQL = -5001;
|
|
|
|
constexpr int OB_ERR_PARSE_SQL = -5001;
|
|
|
|
constexpr int OB_ERR_RESOLVE_SQL = -5002;
|
|
|
|
constexpr int OB_ERR_RESOLVE_SQL = -5002;
|
|
|
|
@ -2447,6 +2450,9 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
|
|
|
#define OB_ERR_CHECK_CONSTRAINT_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__USER_ERROR_MSG "CHECK constraint mismatch in ALTER TABLE EXCHANGE PARTITION"
|
|
|
|
#define OB_ERR_CHECK_CONSTRAINT_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__USER_ERROR_MSG "CHECK constraint mismatch in ALTER TABLE EXCHANGE PARTITION"
|
|
|
|
#define OB_ERR_FOREIGN_KEY_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__USER_ERROR_MSG "FOREIGN KEY constraint mismatch in ALTER TABLE EXCHANGE PARTITION"
|
|
|
|
#define OB_ERR_FOREIGN_KEY_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__USER_ERROR_MSG "FOREIGN KEY constraint mismatch in ALTER TABLE EXCHANGE PARTITION"
|
|
|
|
#define OB_ERR_EXCHANGE_COMPOSITE_PARTITION__USER_ERROR_MSG "Subpartitioned table, use subpartition instead of partition"
|
|
|
|
#define OB_ERR_EXCHANGE_COMPOSITE_PARTITION__USER_ERROR_MSG "Subpartitioned table, use subpartition instead of partition"
|
|
|
|
|
|
|
|
#define OB_SERVICE_NAME_NOT_FOUND__USER_ERROR_MSG "This service_name is not found in the tenant"
|
|
|
|
|
|
|
|
#define OB_SERVICE_NOT_FULLY_STARTED__USER_ERROR_MSG "The service has not started on all servers"
|
|
|
|
|
|
|
|
#define OB_NOT_PRIMARY_TENANT__USER_ERROR_MSG "The tenant is not PRIMARY"
|
|
|
|
#define OB_ERR_PARSER_INIT__USER_ERROR_MSG "Failed to init SQL parser"
|
|
|
|
#define OB_ERR_PARSER_INIT__USER_ERROR_MSG "Failed to init SQL parser"
|
|
|
|
#define OB_ERR_PARSE_SQL__USER_ERROR_MSG "%s near \'%.*s\' at line %d"
|
|
|
|
#define OB_ERR_PARSE_SQL__USER_ERROR_MSG "%s near \'%.*s\' at line %d"
|
|
|
|
#define OB_ERR_RESOLVE_SQL__USER_ERROR_MSG "Resolve error"
|
|
|
|
#define OB_ERR_RESOLVE_SQL__USER_ERROR_MSG "Resolve error"
|
|
|
|
@ -4691,6 +4697,9 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
|
|
|
#define OB_ERR_CHECK_CONSTRAINT_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__ORA_USER_ERROR_MSG "ORA-14118: CHECK constraint mismatch in ALTER TABLE EXCHANGE PARTITION"
|
|
|
|
#define OB_ERR_CHECK_CONSTRAINT_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__ORA_USER_ERROR_MSG "ORA-14118: CHECK constraint mismatch in ALTER TABLE EXCHANGE PARTITION"
|
|
|
|
#define OB_ERR_FOREIGN_KEY_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__ORA_USER_ERROR_MSG "ORA-14128: FOREIGN KEY constraint mismatch in ALTER TABLE EXCHANGE PARTITION"
|
|
|
|
#define OB_ERR_FOREIGN_KEY_MISMATCH_ALTER_TABLE_EXCHANGE_PARTITION__ORA_USER_ERROR_MSG "ORA-14128: FOREIGN KEY constraint mismatch in ALTER TABLE EXCHANGE PARTITION"
|
|
|
|
#define OB_ERR_EXCHANGE_COMPOSITE_PARTITION__ORA_USER_ERROR_MSG "ORA-14291: cannot EXCHANGE a composite partition with a non-partitioned table"
|
|
|
|
#define OB_ERR_EXCHANGE_COMPOSITE_PARTITION__ORA_USER_ERROR_MSG "ORA-14291: cannot EXCHANGE a composite partition with a non-partitioned table"
|
|
|
|
|
|
|
|
#define OB_SERVICE_NAME_NOT_FOUND__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4780, This service_name is not found in the tenant"
|
|
|
|
|
|
|
|
#define OB_SERVICE_NOT_FULLY_STARTED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4781, The service has not started on all servers"
|
|
|
|
|
|
|
|
#define OB_NOT_PRIMARY_TENANT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -4782, The tenant is not PRIMARY"
|
|
|
|
#define OB_ERR_PARSER_INIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5000, Failed to init SQL parser"
|
|
|
|
#define OB_ERR_PARSER_INIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5000, Failed to init SQL parser"
|
|
|
|
#define OB_ERR_PARSE_SQL__ORA_USER_ERROR_MSG "ORA-00900: %s near \'%.*s\' at line %d"
|
|
|
|
#define OB_ERR_PARSE_SQL__ORA_USER_ERROR_MSG "ORA-00900: %s near \'%.*s\' at line %d"
|
|
|
|
#define OB_ERR_RESOLVE_SQL__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5002, Resolve error"
|
|
|
|
#define OB_ERR_RESOLVE_SQL__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -5002, Resolve error"
|
|
|
|
@ -6360,7 +6369,7 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
|
|
|
#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"
|
|
|
|
|
|
|
|
|
|
|
|
extern int g_all_ob_errnos[2240];
|
|
|
|
extern int g_all_ob_errnos[2243];
|
|
|
|
|
|
|
|
|
|
|
|
const char *ob_error_name(const int oberr);
|
|
|
|
const char *ob_error_name(const int oberr);
|
|
|
|
const char* ob_error_cause(const int oberr);
|
|
|
|
const char* ob_error_cause(const int oberr);
|
|
|
|
|