[Vector Index] error code Placeholder in Master branch
This commit is contained in:
File diff suppressed because one or more lines are too long
@ -2148,6 +2148,8 @@ DEFINE_ORACLE_ERROR(OB_ERR_PARAM_OUT_OF_RANGE, -7435, -1, "42000", "value is out
|
|||||||
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INVALID_VECTOR_DIM, -7600, -1, "22000", "Invalid dimension for vector.", "inconsistent dimension: expected %u got %u", 932, "inconsistent dimension", "inconsistent dimension: expected %u got %u");
|
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INVALID_VECTOR_DIM, -7600, -1, "22000", "Invalid dimension for vector.", "inconsistent dimension: expected %u got %u", 932, "inconsistent dimension", "inconsistent dimension: expected %u got %u");
|
||||||
DEFINE_ERROR_EXT(OB_ERR_BAD_VEC_INDEX_COLUMN, -7601, -1, "HY000", "Column cannot be part of VECTOR index", "Column '%.*s' cannot be part of VECTOR index");
|
DEFINE_ERROR_EXT(OB_ERR_BAD_VEC_INDEX_COLUMN, -7601, -1, "HY000", "Column cannot be part of VECTOR index", "Column '%.*s' cannot be part of VECTOR index");
|
||||||
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_ARRAY_TYPE_MISMATCH, -7602, -1, "22000", "array type mismatch found between definition and data", "array type mismatch found between definition(%.*s) and data(%.*s)", 932, "array type mismatch found between definition and data", "array type mismatch found between definition(%.*s) and data(%.*s)");
|
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_ARRAY_TYPE_MISMATCH, -7602, -1, "22000", "array type mismatch found between definition and data", "array type mismatch found between definition(%.*s) and data(%.*s)", 932, "array type mismatch found between definition and data", "array type mismatch found between definition(%.*s) and data(%.*s)");
|
||||||
|
DEFINE_ERROR_EXT(OB_ERR_VSAG_MEM_LIMIT_EXCEEDED, -7603, -1, "22000", "Vector index memory usage exceeds user defined limit.", "Vector index memory usage exceeds user defined limit '%d'M.");
|
||||||
|
DEFINE_ERROR_EXT(OB_ERR_VSAG_RETURN_ERROR, -7604, -1, "22000", "Using the vsag interface returns an error", "Using the vsag interface returns an error");
|
||||||
|
|
||||||
// 余留位置
|
// 余留位置
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@ -1503,6 +1503,8 @@ constexpr int OB_ERR_XML_PARENT_ALREADY_CONTAINS_CHILD = -7433;
|
|||||||
constexpr int OB_ERR_CONVERSION_OF_UNIT = -7434;
|
constexpr int OB_ERR_CONVERSION_OF_UNIT = -7434;
|
||||||
constexpr int OB_ERR_PARAM_OUT_OF_RANGE = -7435;
|
constexpr int OB_ERR_PARAM_OUT_OF_RANGE = -7435;
|
||||||
constexpr int OB_ERR_BAD_VEC_INDEX_COLUMN = -7601;
|
constexpr int OB_ERR_BAD_VEC_INDEX_COLUMN = -7601;
|
||||||
|
constexpr int OB_ERR_VSAG_MEM_LIMIT_EXCEEDED = -7603;
|
||||||
|
constexpr int OB_ERR_VSAG_RETURN_ERROR = -7604;
|
||||||
constexpr int OB_SERVER_IS_INIT = -8001;
|
constexpr int OB_SERVER_IS_INIT = -8001;
|
||||||
constexpr int OB_SERVER_IS_STOPPING = -8002;
|
constexpr int OB_SERVER_IS_STOPPING = -8002;
|
||||||
constexpr int OB_PACKET_CHECKSUM_ERROR = -8003;
|
constexpr int OB_PACKET_CHECKSUM_ERROR = -8003;
|
||||||
@ -3756,6 +3758,8 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
|||||||
#define OB_ERR_INVALID_VECTOR_DIM__USER_ERROR_MSG "inconsistent dimension: expected %u got %u"
|
#define OB_ERR_INVALID_VECTOR_DIM__USER_ERROR_MSG "inconsistent dimension: expected %u got %u"
|
||||||
#define OB_ERR_BAD_VEC_INDEX_COLUMN__USER_ERROR_MSG "Column '%.*s' cannot be part of VECTOR index"
|
#define OB_ERR_BAD_VEC_INDEX_COLUMN__USER_ERROR_MSG "Column '%.*s' cannot be part of VECTOR index"
|
||||||
#define OB_ERR_ARRAY_TYPE_MISMATCH__USER_ERROR_MSG "array type mismatch found between definition(%.*s) and data(%.*s)"
|
#define OB_ERR_ARRAY_TYPE_MISMATCH__USER_ERROR_MSG "array type mismatch found between definition(%.*s) and data(%.*s)"
|
||||||
|
#define OB_ERR_VSAG_MEM_LIMIT_EXCEEDED__USER_ERROR_MSG "Vector index memory usage exceeds user defined limit '%d'M."
|
||||||
|
#define OB_ERR_VSAG_RETURN_ERROR__USER_ERROR_MSG "Using the vsag interface returns an error"
|
||||||
#define OB_SERVER_IS_INIT__USER_ERROR_MSG "Server is initializing"
|
#define OB_SERVER_IS_INIT__USER_ERROR_MSG "Server is initializing"
|
||||||
#define OB_SERVER_IS_STOPPING__USER_ERROR_MSG "Server is stopping"
|
#define OB_SERVER_IS_STOPPING__USER_ERROR_MSG "Server is stopping"
|
||||||
#define OB_PACKET_CHECKSUM_ERROR__USER_ERROR_MSG "Packet checksum error"
|
#define OB_PACKET_CHECKSUM_ERROR__USER_ERROR_MSG "Packet checksum error"
|
||||||
@ -7918,6 +7922,10 @@ constexpr int OB_ERR_INVALID_DATE_MSG_FMT_V2 = -4219;
|
|||||||
#define OB_ERR_BAD_VEC_INDEX_COLUMN__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -7601, Column '%.*s' cannot be part of VECTOR index"
|
#define OB_ERR_BAD_VEC_INDEX_COLUMN__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -7601, Column '%.*s' cannot be part of VECTOR index"
|
||||||
#define OB_ERR_ARRAY_TYPE_MISMATCH__ORA_USER_ERROR_MSG "ORA-00932: array type mismatch found between definition(%.*s) and data(%.*s)"
|
#define OB_ERR_ARRAY_TYPE_MISMATCH__ORA_USER_ERROR_MSG "ORA-00932: array type mismatch found between definition(%.*s) and data(%.*s)"
|
||||||
#define OB_ERR_ARRAY_TYPE_MISMATCH__OBE_USER_ERROR_MSG "OBE-00932: array type mismatch found between definition(%.*s) and data(%.*s)"
|
#define OB_ERR_ARRAY_TYPE_MISMATCH__OBE_USER_ERROR_MSG "OBE-00932: array type mismatch found between definition(%.*s) and data(%.*s)"
|
||||||
|
#define OB_ERR_VSAG_MEM_LIMIT_EXCEEDED__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -7603, Vector index memory usage exceeds user defined limit '%d'M."
|
||||||
|
#define OB_ERR_VSAG_MEM_LIMIT_EXCEEDED__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -7603, Vector index memory usage exceeds user defined limit '%d'M."
|
||||||
|
#define OB_ERR_VSAG_RETURN_ERROR__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -7604, Using the vsag interface returns an error"
|
||||||
|
#define OB_ERR_VSAG_RETURN_ERROR__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -7604, Using the vsag interface returns an error"
|
||||||
#define OB_SERVER_IS_INIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -8001, Server is initializing"
|
#define OB_SERVER_IS_INIT__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -8001, Server is initializing"
|
||||||
#define OB_SERVER_IS_INIT__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -8001, Server is initializing"
|
#define OB_SERVER_IS_INIT__OBE_USER_ERROR_MSG "OBE-00600: internal error code, arguments: -8001, Server is initializing"
|
||||||
#define OB_SERVER_IS_STOPPING__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -8002, Server is stopping"
|
#define OB_SERVER_IS_STOPPING__ORA_USER_ERROR_MSG "ORA-00600: internal error code, arguments: -8002, Server is stopping"
|
||||||
@ -8899,7 +8907,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__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"
|
#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[2323];
|
extern int g_all_ob_errnos[2325];
|
||||||
|
|
||||||
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user