fix gis errno

This commit is contained in:
obdev 2022-12-29 07:41:56 +00:00 committed by ob-robot
parent 0a11e770a5
commit 7fbad9b552
2 changed files with 175 additions and 193 deletions

View File

@ -250,93 +250,93 @@ constexpr int OB_TRANS_STMT_TIMEOUT = -6212;
constexpr int OB_TRANS_CTX_NOT_EXIST = -6213;
constexpr int OB_TRANS_UNKNOWN = -6225;
constexpr int OB_ERR_READ_ONLY_TRANSACTION = -6226;
constexpr int OB_ERR_GIS_DIFFERENT_SRIDS = -7201;
constexpr int OB_ERR_GIS_UNSUPPORTED_ARGUMENT = -7202;
constexpr int OB_ERR_GIS_UNKNOWN_ERROR = -7203;
constexpr int OB_ERR_GIS_UNKNOWN_EXCEPTION = -7204;
constexpr int OB_ERR_GIS_INVALID_DATA = -7205;
constexpr int OB_ERR_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION = -7206;
constexpr int OB_ERR_BOOST_GEOMETRY_CENTROID_EXCEPTION = -7207;
constexpr int OB_ERR_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION = -7208;
constexpr int OB_ERR_BOOST_GEOMETRY_TURN_INFO_EXCEPTION = -7209;
constexpr int OB_ERR_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION = -7210;
constexpr int OB_ERR_BOOST_GEOMETRY_UNKNOWN_EXCEPTION = -7211;
constexpr int OB_ERR_GIS_DATA_WRONG_ENDIANESS = -7212;
constexpr int OB_ERR_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS = -7213;
constexpr int OB_ERR_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION = -7214;
constexpr int OB_ERR_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED = -7215;
constexpr int OB_ERR_UNEXPECTED_GEOMETRY_TYPE = -7216;
constexpr int OB_ERR_SRS_PARSE_ERROR = -7217;
constexpr int OB_ERR_SRS_PROJ_PARAMETER_MISSING = -7218;
constexpr int OB_ERR_WARN_SRS_NOT_FOUND = -7219;
constexpr int OB_ERR_SRS_NOT_CARTESIAN = -7220;
constexpr int OB_ERR_SRS_NOT_CARTESIAN_UNDEFINED = -7221;
constexpr int OB_ERR_SRS_NOT_FOUND = -7222;
constexpr int OB_ERR_WARN_SRS_NOT_FOUND_AXIS_ORDER = -7223;
constexpr int OB_ERR_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS = -7224;
constexpr int OB_ERR_WRONG_SRID_FOR_COLUMN = -7225;
constexpr int OB_ERR_CANNOT_ALTER_SRID_DUE_TO_INDEX = -7226;
constexpr int OB_ERR_WARN_USELESS_SPATIAL_INDEX = -7227;
constexpr int OB_ERR_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326 = -7228;
constexpr int OB_ERR_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS = -7229;
constexpr int OB_ERR_NOT_IMPLEMENTED_FOR_PROJECTED_SRS = -7230;
constexpr int OB_ERR_SRS_MISSING_MANDATORY_ATTRIBUTE = -7231;
constexpr int OB_ERR_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS = -7232;
constexpr int OB_ERR_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE = -7233;
constexpr int OB_ERR_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE = -7234;
constexpr int OB_ERR_SRS_ID_ALREADY_EXISTS = -7235;
constexpr int OB_ERR_WARN_SRS_ID_ALREADY_EXISTS = -7236;
constexpr int OB_ERR_CANT_MODIFY_SRID_0 = -7237;
constexpr int OB_ERR_WARN_RESERVED_SRID_RANGE = -7238;
constexpr int OB_ERR_CANT_MODIFY_SRS_USED_BY_COLUMN = -7239;
constexpr int OB_ERR_SRS_INVALID_CHARACTER_IN_ATTRIBUTE = -7240;
constexpr int OB_ERR_SRS_ATTRIBUTE_STRING_TOO_LONG = -7241;
constexpr int OB_ERR_SRS_NOT_GEOGRAPHIC = -7242;
constexpr int OB_ERR_POLYGON_TOO_LARGE = -7243;
constexpr int OB_ERR_SPATIAL_UNIQUE_INDEX = -7244;
constexpr int OB_ERR_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE = -7246;
constexpr int OB_ERR_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE = -7247;
constexpr int OB_ERR_SRS_GEOGCS_INVALID_AXES = -7248;
constexpr int OB_ERR_SRS_INVALID_SEMI_MAJOR_AXIS = -7249;
constexpr int OB_ERR_SRS_INVALID_INVERSE_FLATTENING = -7250;
constexpr int OB_ERR_SRS_INVALID_ANGULAR_UNIT = -7251;
constexpr int OB_ERR_SRS_INVALID_PRIME_MERIDIAN = -7252;
constexpr int OB_ERR_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED = -7253;
constexpr int OB_ERR_TRANSFORM_TARGET_SRS_NOT_SUPPORTED = -7254;
constexpr int OB_ERR_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84 = -7255;
constexpr int OB_ERR_TRANSFORM_TARGET_SRS_MISSING_TOWGS84 = -7256;
constexpr int OB_ERR_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION = -7257;
constexpr int OB_ERR_SPATIAL_FUNCTIONAL_INDEX = -7258;
constexpr int OB_ERR_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT = -7259;
constexpr int OB_ERR_INVALID_CAST_TO_GEOMETRY = -7260;
constexpr int OB_ERR_INVALID_CAST_POLYGON_RING_DIRECTION = -7261;
constexpr int OB_ERR_GIS_DIFFERENT_SRIDS_AGGREGATION = -7262;
constexpr int OB_ERR_LONGITUDE_OUT_OF_RANGE = -7263;
constexpr int OB_ERR_LATITUDE_OUT_OF_RANGE = -7264;
constexpr int OB_ERR_STD_BAD_ALLOC_ERROR = -7265;
constexpr int OB_ERR_STD_DOMAIN_ERROR = -7266;
constexpr int OB_ERR_STD_LENGTH_ERROR = -7267;
constexpr int OB_ERR_STD_INVALID_ARGUMENT = -7268;
constexpr int OB_ERR_STD_OUT_OF_RANGE_ERROR = -7269;
constexpr int OB_ERR_STD_OVERFLOW_ERROR = -7270;
constexpr int OB_ERR_STD_RANGE_ERROR = -7271;
constexpr int OB_ERR_STD_UNDERFLOW_ERROR = -7272;
constexpr int OB_ERR_STD_LOGIC_ERROR = -7273;
constexpr int OB_ERR_STD_RUNTIME_ERROR = -7274;
constexpr int OB_ERR_STD_UNKNOWN_EXCEPTION = -7275;
constexpr int OB_ERR_CANT_CREATE_GEOMETRY_OBJECT = -7276;
constexpr int OB_ERR_SRID_WRONG_USAGE = -7277;
constexpr int OB_ERR_INDEX_ORDER_WRONG_USAGE = -7278;
constexpr int OB_ERR_SPATIAL_MUST_HAVE_GEOM_COL = -7279;
constexpr int OB_ERR_SPATIAL_CANT_HAVE_NULL = -7280;
constexpr int OB_ERR_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX = -7281;
constexpr int OB_ERR_UNIT_NOT_FOUND = -7282;
constexpr int OB_ERR_INVALID_OPTION_KEY_VALUE_PAIR = -7283;
constexpr int OB_ERR_NONPOSITIVE_RADIUS = -7284;
constexpr int OB_ERR_SRS_EMPTY = -7285;
constexpr int OB_ERR_INVALID_OPTION_KEY = -7286;
constexpr int OB_ERR_INVALID_OPTION_VALUE = -7287;
constexpr int OB_ERR_INVALID_GEOMETRY_TYPE = -7288;
constexpr int OB_ERR_GIS_DIFFERENT_SRIDS = -7201;
constexpr int OB_ERR_GIS_UNSUPPORTED_ARGUMENT = -7202;
constexpr int OB_ERR_GIS_UNKNOWN_ERROR = -7203;
constexpr int OB_ERR_GIS_UNKNOWN_EXCEPTION = -7204;
constexpr int OB_ERR_GIS_INVALID_DATA = -7205;
constexpr int OB_ERR_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION = -7206;
constexpr int OB_ERR_BOOST_GEOMETRY_CENTROID_EXCEPTION = -7207;
constexpr int OB_ERR_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION = -7208;
constexpr int OB_ERR_BOOST_GEOMETRY_TURN_INFO_EXCEPTION = -7209;
constexpr int OB_ERR_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION = -7210;
constexpr int OB_ERR_BOOST_GEOMETRY_UNKNOWN_EXCEPTION = -7211;
constexpr int OB_ERR_GIS_DATA_WRONG_ENDIANESS = -7212;
constexpr int OB_ERR_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS = -7213;
constexpr int OB_ERR_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION = -7214;
constexpr int OB_ERR_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED = -7215;
constexpr int OB_ERR_UNEXPECTED_GEOMETRY_TYPE = -7216;
constexpr int OB_ERR_SRS_PARSE_ERROR = -7217;
constexpr int OB_ERR_SRS_PROJ_PARAMETER_MISSING = -7218;
constexpr int OB_ERR_WARN_SRS_NOT_FOUND = -7219;
constexpr int OB_ERR_SRS_NOT_CARTESIAN = -7220;
constexpr int OB_ERR_SRS_NOT_CARTESIAN_UNDEFINED = -7221;
constexpr int OB_ERR_SRS_NOT_FOUND = -7222;
constexpr int OB_ERR_WARN_SRS_NOT_FOUND_AXIS_ORDER = -7223;
constexpr int OB_ERR_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS = -7224;
constexpr int OB_ERR_WRONG_SRID_FOR_COLUMN = -7225;
constexpr int OB_ERR_CANNOT_ALTER_SRID_DUE_TO_INDEX = -7226;
constexpr int OB_ERR_WARN_USELESS_SPATIAL_INDEX = -7227;
constexpr int OB_ERR_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326 = -7228;
constexpr int OB_ERR_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS = -7229;
constexpr int OB_ERR_NOT_IMPLEMENTED_FOR_PROJECTED_SRS = -7230;
constexpr int OB_ERR_SRS_MISSING_MANDATORY_ATTRIBUTE = -7231;
constexpr int OB_ERR_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS = -7232;
constexpr int OB_ERR_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE = -7233;
constexpr int OB_ERR_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE = -7234;
constexpr int OB_ERR_SRS_ID_ALREADY_EXISTS = -7235;
constexpr int OB_ERR_WARN_SRS_ID_ALREADY_EXISTS = -7236;
constexpr int OB_ERR_CANT_MODIFY_SRID_0 = -7237;
constexpr int OB_ERR_WARN_RESERVED_SRID_RANGE = -7238;
constexpr int OB_ERR_CANT_MODIFY_SRS_USED_BY_COLUMN = -7239;
constexpr int OB_ERR_SRS_INVALID_CHARACTER_IN_ATTRIBUTE = -7240;
constexpr int OB_ERR_SRS_ATTRIBUTE_STRING_TOO_LONG = -7241;
constexpr int OB_ERR_SRS_NOT_GEOGRAPHIC = -7242;
constexpr int OB_ERR_POLYGON_TOO_LARGE = -7243;
constexpr int OB_ERR_SPATIAL_UNIQUE_INDEX = -7244;
constexpr int OB_ERR_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE = -7246;
constexpr int OB_ERR_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE = -7247;
constexpr int OB_ERR_SRS_GEOGCS_INVALID_AXES = -7248;
constexpr int OB_ERR_SRS_INVALID_SEMI_MAJOR_AXIS = -7249;
constexpr int OB_ERR_SRS_INVALID_INVERSE_FLATTENING = -7250;
constexpr int OB_ERR_SRS_INVALID_ANGULAR_UNIT = -7251;
constexpr int OB_ERR_SRS_INVALID_PRIME_MERIDIAN = -7252;
constexpr int OB_ERR_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED = -7253;
constexpr int OB_ERR_TRANSFORM_TARGET_SRS_NOT_SUPPORTED = -7254;
constexpr int OB_ERR_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84 = -7255;
constexpr int OB_ERR_TRANSFORM_TARGET_SRS_MISSING_TOWGS84 = -7256;
constexpr int OB_ERR_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION = -7257;
constexpr int OB_ERR_SPATIAL_FUNCTIONAL_INDEX = -7258;
constexpr int OB_ERR_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT = -7259;
constexpr int OB_ERR_INVALID_CAST_TO_GEOMETRY = -7260;
constexpr int OB_ERR_INVALID_CAST_POLYGON_RING_DIRECTION = -7261;
constexpr int OB_ERR_GIS_DIFFERENT_SRIDS_AGGREGATION = -7262;
constexpr int OB_ERR_LONGITUDE_OUT_OF_RANGE = -7263;
constexpr int OB_ERR_LATITUDE_OUT_OF_RANGE = -7264;
constexpr int OB_ERR_STD_BAD_ALLOC_ERROR = -7265;
constexpr int OB_ERR_STD_DOMAIN_ERROR = -7266;
constexpr int OB_ERR_STD_LENGTH_ERROR = -7267;
constexpr int OB_ERR_STD_INVALID_ARGUMENT = -7268;
constexpr int OB_ERR_STD_OUT_OF_RANGE_ERROR = -7269;
constexpr int OB_ERR_STD_OVERFLOW_ERROR = -7270;
constexpr int OB_ERR_STD_RANGE_ERROR = -7271;
constexpr int OB_ERR_STD_UNDERFLOW_ERROR = -7272;
constexpr int OB_ERR_STD_LOGIC_ERROR = -7273;
constexpr int OB_ERR_STD_RUNTIME_ERROR = -7274;
constexpr int OB_ERR_STD_UNKNOWN_EXCEPTION = -7275;
constexpr int OB_ERR_CANT_CREATE_GEOMETRY_OBJECT = -7276;
constexpr int OB_ERR_SRID_WRONG_USAGE = -7277;
constexpr int OB_ERR_INDEX_ORDER_WRONG_USAGE = -7278;
constexpr int OB_ERR_SPATIAL_MUST_HAVE_GEOM_COL = -7279;
constexpr int OB_ERR_SPATIAL_CANT_HAVE_NULL = -7280;
constexpr int OB_ERR_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX = -7281;
constexpr int OB_ERR_UNIT_NOT_FOUND = -7282;
constexpr int OB_ERR_INVALID_OPTION_KEY_VALUE_PAIR = -7283;
constexpr int OB_ERR_NONPOSITIVE_RADIUS = -7284;
constexpr int OB_ERR_SRS_EMPTY = -7285;
constexpr int OB_ERR_INVALID_OPTION_KEY = -7286;
constexpr int OB_ERR_INVALID_OPTION_VALUE = -7287;
constexpr int OB_ERR_INVALID_GEOMETRY_TYPE = -7288;
constexpr int OB_PACKET_CLUSTER_ID_NOT_MATCH = -8004;
constexpr int OB_URI_ERROR = -9001;
constexpr int OB_FINAL_MD5_ERROR = -9002;
@ -361,24 +361,6 @@ constexpr int OB_ERR_XSLT_PARSE = -9574;
constexpr int OB_MAX_RAISE_APPLICATION_ERROR = -20000;
constexpr int OB_MIN_RAISE_APPLICATION_ERROR = -20999;
} // common
using namespace common; // maybe someone can fix
} // oceanbase

View File

@ -1687,94 +1687,94 @@ DEFINE_ERROR(OB_TRANSFER_CTX_TS_NOT_MATCH, -7108, -1, "HY000", "transfer ctx_ts
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//error code for gis -7201 ---- -7300
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GIS_DIFFERENT_SRIDS, -7201, ER_GIS_DIFFERENT_SRIDS, "HY000", "Binary geometry function given two geometries of different srids.", "Binary geometry function %s given two geometries of different srids: %u and %u, which should have been identical.", 600, "Binary geometry function given two geometries of different srids.", "Binary geometry function %s given two geometries of different srids: %u and %u, which should have been identical.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GIS_UNSUPPORTED_ARGUMENT, -7202, ER_GIS_UNSUPPORTED_ARGUMENT, "HY000", "Calling geometry function with unsupported types of arguments.", "Calling geometry function %s with unsupported types of arguments.", 600, "Calling geometry function with unsupported types of arguments.", "Calling geometry function %s with unsupported types of arguments.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GIS_UNKNOWN_ERROR, -7203, ER_GIS_UNKNOWN_ERROR, "HY000", "Unknown GIS error occurred in function.", "Unknown GIS error occurred in function %s.", 600, "Unknown GIS error occurred in function.", "Unknown GIS error occurred in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GIS_UNKNOWN_EXCEPTION, -7204, ER_GIS_UNKNOWN_EXCEPTION, "HY000", "Unknown exception caught in GIS function.", "Unknown exception caught in GIS function %s.", 600, "Unknown exception caught in GIS function.", "Unknown exception caught in GIS function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GIS_INVALID_DATA, -7205, ER_GIS_INVALID_DATA, "22023", "Invalid GIS data provided to function.", "Invalid GIS data provided to function %s.", 600, "Invalid GIS data provided to function.", "Invalid GIS data provided to function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION, -7206, ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION, "HY000", "The geometry has no data in function.", "The geometry has no data in function %s.", 600, "The geometry has no data in function.", "The geometry has no data in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_BOOST_GEOMETRY_CENTROID_EXCEPTION, -7207, ER_BOOST_GEOMETRY_CENTROID_EXCEPTION, "HY000", "Unable to calculate centroid because geometry is empty in function.", "Unable to calculate centroid because geometry is empty in function %s.", 600, "Unable to calculate centroid because geometry is empty in function.", "Unable to calculate centroid because geometry is empty in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION, -7208, ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION, "HY000", "Geometry overlay calculation error: geometry data is invalid in function.", "Geometry overlay calculation error: geometry data is invalid in function %s.", 600, "Geometry overlay calculation error: geometry data is invalid in function.", "Geometry overlay calculation error: geometry data is invalid in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_BOOST_GEOMETRY_TURN_INFO_EXCEPTION, -7209, ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION, "HY000", "Geometry turn info calculation error: geometry data is invalid in function.", "Geometry turn info calculation error: geometry data is invalid in function %s.", 600, "Geometry turn info calculation error: geometry data is invalid in function.", "Geometry turn info calculation error: geometry data is invalid in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION, -7210, ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION, "HY000", "Analysis procedures of intersection points interrupted unexpectedly in function.", "Analysis procedures of intersection points interrupted unexpectedly in function %s.", 600, "Analysis procedures of intersection points interrupted unexpectedly in function.", "Analysis procedures of intersection points interrupted unexpectedly in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_BOOST_GEOMETRY_UNKNOWN_EXCEPTION, -7211, ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION, "HY000", "Unknown exception thrown in function.", "Unknown exception thrown in function %s.", 600, "Unknown exception thrown in function.", "Unknown exception thrown in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GIS_DATA_WRONG_ENDIANESS, -7212, ER_GIS_DATA_WRONG_ENDIANESS, "HY000", "Geometry byte string must be little endian.", "Geometry byte string must be little endian.", 600, "Geometry byte string must be little endian.", "Geometry byte string must be little endian.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS, -7213, ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS, "HY000", "Do not support online operation on table with GIS index", "Do not support online operation on table with GIS index", 600, "Do not support online operation on table with GIS index", "Do not support online operation on table with GIS index");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION, -7214, ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION, "HY000", "Inconsistent intersection points.", "Inconsistent intersection points.", 600, "Inconsistent intersection points.", "Inconsistent intersection points.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED, -7215, ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED, "HY000", "Parameter exceeds the maximum number of points in a geometryin function.", "Parameter %s exceeds the maximum number of points in a geometry (%lu) in function %s.", 600, "Parameter exceeds the maximum number of points in a geometry in function.", "Parameter %s exceeds the maximum number of points in a geometry (%lu) in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_UNEXPECTED_GEOMETRY_TYPE, -7216, ER_UNEXPECTED_GEOMETRY_TYPE, "22S01", "value is a geometry of unexpected type", "%.64s value is a geometry of unexpected type %.64s in %.64s.", 600, "Invalid value type", "%.64s value is a geometry of unexpected type %.64s in %.64s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_PARSE_ERROR, -7217, ER_SRS_PARSE_ERROR, "SR002", "Can\'t parse the spatial reference system definition of SRID.", "Can\'t parse the spatial reference system definition of SRID %u.", 600, "Can\'t parse the spatial reference system definition of SRID.", "Can\'t parse the spatial reference system definition of SRID %u.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_PROJ_PARAMETER_MISSING, -7218, ER_SRS_PROJ_PARAMETER_MISSING, "SR003", "The spatial reference system definition for SRID does not specify the mandatory (EPSG) projection parameter.", "The spatial reference system definition for SRID %u does not specify the mandatory %s (EPSG %u) projection parameter.", 600, "The spatial reference system definition for SRID does not specify the mandatory (EPSG) projection parameter.", "The spatial reference system definition for SRID %u does not specify the mandatory %s (EPSG %u) projection parameter.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_WARN_SRS_NOT_FOUND, -7219, ER_WARN_SRS_NOT_FOUND, "01000", "There\'s no spatial reference system with SRID.", "There\'s no spatial reference system with SRID %u.", 600, "There\'s no spatial reference system with SRID.", "There\'s no spatial reference system with SRID %u.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_NOT_CARTESIAN, -7220, ER_SRS_NOT_CARTESIAN, "22S00", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which is not Cartesian.", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which is not Cartesian.", 600, "Function is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID, which is not Cartesian.", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which is not Cartesian.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_NOT_CARTESIAN_UNDEFINED, -7221, ER_SRS_NOT_CARTESIAN_UNDEFINED, "SR001", "Function is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID, which has not been defined.", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which has not been defined.", 600, "Function is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID, which has not been defined.", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which has not been defined.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_NOT_FOUND, -7222, ER_SRS_NOT_FOUND, "SR001", "There\'s no spatial reference system with SRID.", "There\'s no spatial reference system with SRID %u.", 600, "There\'s no spatial reference system with SRID.", "There\'s no spatial reference system with SRID %u.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_WARN_SRS_NOT_FOUND_AXIS_ORDER, -7223, ER_WARN_SRS_NOT_FOUND_AXIS_ORDER, "01000", "There\'s no spatial reference system with SRID. The axis order is unknown.", "There\'s no spatial reference system with SRID %u. The axis order is unknown.", 600, "There\'s no spatial reference system with SRID. The axis order is unknown.", "There\'s no spatial reference system with SRID %u. The axis order is unknown.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS, -7224, ER_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS, "22S00", "It has not been implemented for geographic spatial reference systems.", "%.192s(%.80s) has not been implemented for geographic spatial reference systems.", 600, "It has not been implemented for geographic spatial reference systems.", "%.192s(%.80s) has not been implemented for geographic spatial reference systems.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_WRONG_SRID_FOR_COLUMN, -7225, ER_WRONG_SRID_FOR_COLUMN, "HY000", "The SRID of the geometry does not match the SRID of the column.", "The SRID of the geometry does not match the SRID of the column. The SRID of the geometry is %lu, but the SRID of the column is %lu. Consider changing the SRID of the geometry or the SRID property of the column.", 600, "The SRID of the geometry does not match the SRID of the column.", "The SRID of the geometry does not match the SRID of the column. The SRID of the geometry is %lu, but the SRID of the column is %lu. Consider changing the SRID of the geometry or the SRID property of the column.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_CANNOT_ALTER_SRID_DUE_TO_INDEX, -7226, ER_CANNOT_ALTER_SRID_DUE_TO_INDEX, "HY000", "The SRID specification on the column cannot be changed because there is a spatial index on the column.", "The SRID specification on the column \'%.64s\' cannot be changed because there is a spatial index on the column. Please remove the spatial index before altering the SRID specification.", 600, "The SRID specification on the column cannot be changed because there is a spatial index on the column.", "The SRID specification on the column \'%.64s\' cannot be changed because there is a spatial index on the column. Please remove the spatial index before altering the SRID specification.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_WARN_USELESS_SPATIAL_INDEX, -7227, ER_WARN_USELESS_SPATIAL_INDEX, "HY000", "The spatial index on column will not be used by the query optimizer since the column does not have an SRID attribute.", "The spatial index on column \'%.64s\' will not be used by the query optimizer since the column does not have an SRID attribute. Consider adding an SRID attribute to the column.", 600, "The spatial index on column will not be used by the query optimizer since the column does not have an SRID attribute.", "The spatial index on column \'%.64s\' will not be used by the query optimizer since the column does not have an SRID attribute. Consider adding an SRID attribute to the column.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326, -7228, ER_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326, "22S00", "Function is only defined for SRID 0 and SRID 4326.", "Function %.192s is only defined for SRID 0 and SRID 4326.", 600, "Function is only defined for SRID 0 and SRID 4326.", "Function %.192s is only defined for SRID 0 and SRID 4326.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS, -7229, ER_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS, "22S00", "It has not been implemented for Cartesian spatial reference systems.", "%.192s(%.80s) has not been implemented for Cartesian spatial reference systems.", 600, "It has not been implemented for Cartesian spatial reference systems.", "%.192s(%.80s) has not been implemented for Cartesian spatial reference systems.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_NOT_IMPLEMENTED_FOR_PROJECTED_SRS, -7230, ER_NOT_IMPLEMENTED_FOR_PROJECTED_SRS, "22S00", "It has not been implemented for projected spatial reference systems.", "%.192s(%.80s) has not been implemented for projected spatial reference systems.", 600, "It has not been implemented for projected spatial reference systems.", "%.192s(%.80s) has not been implemented for projected spatial reference systems.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_MISSING_MANDATORY_ATTRIBUTE, -7231, ER_SRS_MISSING_MANDATORY_ATTRIBUTE, "SR006", "Missing mandatory attribute.", "Missing mandatory attribute %s.", 600, "Missing mandatory attribute.", "Missing mandatory attribute %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS, -7232, ER_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS, "SR006", "Multiple definitions of attribute.", "Multiple definitions of attribute %s.", 600, "Multiple definitions of attribute.", "Multiple definitions of attribute %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE, -7233, ER_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE, "SR006", "The spatial reference system name can\'t be an empty string or start or end with whitespace.", "The spatial reference system name can\'t be an empty string or start or end with whitespace.", 600, "The spatial reference system name can\'t be an empty string or start or end with whitespace.", "The spatial reference system name can\'t be an empty string or start or end with whitespace.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE, -7234, ER_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE, "SR006", "The organization name can\'t be an empty string or start or end with whitespace.", "The organization name can\'t be an empty string or start or end with whitespace.", 600, "The organization name can\'t be an empty string or start or end with whitespace.", "The organization name can\'t be an empty string or start or end with whitespace.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_ID_ALREADY_EXISTS, -7235, ER_SRS_ID_ALREADY_EXISTS, "SR004", "There is already a spatial reference system with SRID.", "There is already a spatial reference system with SRID %u.", 600, "There is already a spatial reference system with SRID.", "There is already a spatial reference system with SRID %u.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_WARN_SRS_ID_ALREADY_EXISTS, -7236, ER_WARN_SRS_ID_ALREADY_EXISTS, "01S00", "There is already a spatial reference system with SRID.", "There is already a spatial reference system with SRID %u.", 600, "There is already a spatial reference system with SRID.", "There is already a spatial reference system with SRID %u.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_CANT_MODIFY_SRID_0, -7237, ER_CANT_MODIFY_SRID_0, "SR000", "SRID 0 is not modifiable.", "SRID 0 is not modifiable.", 600, "SRID 0 is not modifiable.", "SRID 0 is not modifiable.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_WARN_RESERVED_SRID_RANGE, -7238, ER_WARN_RESERVED_SRID_RANGE, "01S01", "The SRID range has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade.", "The SRID range [%u, %u] has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade.", 600, "The SRID range has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade.", "The SRID range [%u, %u] has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_CANT_MODIFY_SRS_USED_BY_COLUMN, -7239, ER_CANT_MODIFY_SRS_USED_BY_COLUMN, "SR005", "Can\'t modify SRID. There is at least one column depending on it.", "Can\'t modify SRID %u. There is at least one column depending on it.", 600, "Can\'t modify SRID. There is at least one column depending on it.", "Can\'t modify SRID %u. There is at least one column depending on it.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_INVALID_CHARACTER_IN_ATTRIBUTE, -7240, ER_SRS_INVALID_CHARACTER_IN_ATTRIBUTE, "SR006", "Invalid character in attribute.", "Invalid character in attribute %s.", 600, "Invalid character in attribute.", "Invalid character in attribute %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_ATTRIBUTE_STRING_TOO_LONG, -7241, ER_SRS_ATTRIBUTE_STRING_TOO_LONG, "SR006", "Attribute is too long.", "Attribute %s is too long. The maximum length is %u characters.", 600, "Attribute is too long.", "Attribute %s is too long. The maximum length is %u characters.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_NOT_GEOGRAPHIC, -7242, ER_SRS_NOT_GEOGRAPHIC, "22S00", "Function is only defined for geographic spatial reference systems, but one of its arguments is in SRID, which is not geographic.", "Function %s is only defined for geographic spatial reference systems, but one of its arguments is in SRID %u, which is not geographic.", 600, "Function is only defined for geographic spatial reference systems, but one of its arguments is in SRID, which is not geographic.", "Function %s is only defined for geographic spatial reference systems, but one of its arguments is in SRID %u, which is not geographic.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_POLYGON_TOO_LARGE, -7243, ER_POLYGON_TOO_LARGE, "22023", "Function encountered a polygon that was too large. Polygons must cover less than half the planet.", "Function %s encountered a polygon that was too large. Polygons must cover less than half the planet.", 600, "Function encountered a polygon that was too large. Polygons must cover less than half the planet.", "Function %s encountered a polygon that was too large. Polygons must cover less than half the planet.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SPATIAL_UNIQUE_INDEX, -7244, ER_SPATIAL_UNIQUE_INDEX, "HY000", "Spatial indexes can\'t be primary or unique indexes.", "Spatial indexes can\'t be primary or unique indexes.", 600, "Spatial indexes can\'t be primary or unique indexes.", "Spatial indexes can\'t be primary or unique indexes.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX, -7245, ER_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX, "HY000", "The index type is not supported for spatial indexes.", "The index type %.20s is not supported for spatial indexes.", 600, "The index type is not supported for spatial indexes.", "The index type %.20s is not supported for spatial indexes.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE, -7246, ER_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE, "22S02", "A parameter of function contains a geometry with longitude, which is out of range.", "A parameter of function %.192s contains a geometry with longitude %f, which is out of range. It must be within (%f, %f].", 600, "A parameter of function contains a geometry with longitude, which is out of range.", "A parameter of function %.192s contains a geometry with longitude %f, which is out of range. It must be within (%f, %f].");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE, -7247, ER_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE, "22S03", "A parameter of function contains a geometry with latitude, which is out of range.", "A parameter of function %.192s contains a geometry with latitude %f, which is out of range. It must be within [%f, %f].", 600, "A parameter of function contains a geometry with latitude, which is out of range.", "A parameter of function %.192s contains a geometry with latitude %f, which is out of range. It must be within [%f, %f].");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_GEOGCS_INVALID_AXES, -7248, ER_SRS_GEOGCS_INVALID_AXES, "SR002", "The spatial reference system definition for SRID specifies invalid geographic axes. One axis must be NORTH or SOUTH and the other must be EAST or WEST.", "The spatial reference system definition for SRID %u specifies invalid geographic axes \'%.20s\' and \'%.20s\'. One axis must be NORTH or SOUTH and the other must be EAST or WEST.", 600, "The spatial reference system definition for SRID specifies invalid geographic axes. One axis must be NORTH or SOUTH and the other must be EAST or WEST.", "The spatial reference system definition for SRID %u specifies invalid geographic axes \'%.20s\' and \'%.20s\'. One axis must be NORTH or SOUTH and the other must be EAST or WEST.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_INVALID_SEMI_MAJOR_AXIS, -7249, ER_SRS_INVALID_SEMI_MAJOR_AXIS, "SR002", "The length of the semi-major axis must be a positive number.", "The length of the semi-major axis must be a positive number.", 600, "The length of the semi-major axis must be a positive number.", "The length of the semi-major axis must be a positive number.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_INVALID_INVERSE_FLATTENING, -7250, ER_SRS_INVALID_INVERSE_FLATTENING, "SR002", "The inverse flattening must be larger than 1.0, or 0.0 if the ellipsoid is a sphere.", "The inverse flattening must be larger than 1.0, or 0.0 if the ellipsoid is a sphere.", 600, "The inverse flattening must be larger than 1.0, or 0.0 if the ellipsoid is a sphere.", "The inverse flattening must be larger than 1.0, or 0.0 if the ellipsoid is a sphere.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_INVALID_ANGULAR_UNIT, -7251, ER_SRS_INVALID_ANGULAR_UNIT, "SR002", "The angular unit conversion factor must be a positive number.", "The angular unit conversion factor must be a positive number.", 600, "The angular unit conversion factor must be a positive number.", "The angular unit conversion factor must be a positive number.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_INVALID_PRIME_MERIDIAN, -7252, ER_SRS_INVALID_PRIME_MERIDIAN, "SR002", "The prime meridian must be within (-180, 180] degrees, specified in the SRS angular unit.", "The prime meridian must be within (-180, 180] degrees, specified in the SRS angular unit.", 600, "The prime meridian must be within (-180, 180] degrees, specified in the SRS angular unit.", "The prime meridian must be within (-180, 180] degrees, specified in the SRS angular unit.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED, -7253, ER_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED, "22S00", "Transformation from SRID is not supported.", "Transformation from SRID %u is not supported.", 600, "Transformation from SRID is not supported.", "Transformation from SRID %u is not supported.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_TRANSFORM_TARGET_SRS_NOT_SUPPORTED, -7254, ER_TRANSFORM_TARGET_SRS_NOT_SUPPORTED, "22S00", "Transformation to SRID %u is not supported.", "Transformation to SRID %u is not supported.", 600, "Transformation to SRID is not supported.", "Transformation to SRID %u is not supported.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84, -7255, ER_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84, "22S00", "Transformation from SRID is not supported. The spatial reference system has no TOWGS84 clause.", "Transformation from SRID %u is not supported. The spatial reference system has no TOWGS84 clause.", 600, "Transformation from SRID is not supported. The spatial reference system has no TOWGS84 clause.", "Transformation from SRID %u is not supported. The spatial reference system has no TOWGS84 clause.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_TRANSFORM_TARGET_SRS_MISSING_TOWGS84, -7256, ER_TRANSFORM_TARGET_SRS_MISSING_TOWGS84, "22S00", "Transformation to SRID is not supported. The spatial reference system has no TOWGS84 clause.", "Transformation to SRID %u is not supported. The spatial reference system has no TOWGS84 clause.", 600, "Transformation to SRID is not supported. The spatial reference system has no TOWGS84 clause.", "Transformation to SRID %u is not supported. The spatial reference system has no TOWGS84 clause.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION, -7257, ER_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION, "42000", "Cannot create a functional index on a function that returns a JSON or GEOMETRY value.", "Cannot create a functional index on a function that returns a JSON or GEOMETRY value.", 600, "Cannot create a functional index on a function that returns a JSON or GEOMETRY value.", "Cannot create a functional index on a function that returns a JSON or GEOMETRY value.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SPATIAL_FUNCTIONAL_INDEX, -7258, ER_SPATIAL_FUNCTIONAL_INDEX, "HY000", "Spatial functional index is not supported.", "Spatial functional index is not supported.", 600, "Spatial functional index is not supported.", "Spatial functional index is not supported.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT, -7259, ER_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT, "SU001", "The geometry passed to function is in SRID 0, which doesn\'t specify a length unit. Can\'t convert.", "The geometry passed to function %s is in SRID 0, which doesn\'t specify a length unit. Can\'t convert to \'%s\'.", 600, "The geometry passed to function is in SRID 0, which doesn\'t specify a length unit. Can\'t convert.", "The geometry passed to function %s is in SRID 0, which doesn\'t specify a length unit. Can\'t convert to \'%s\'.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_CAST_TO_GEOMETRY, -7260, ER_INVALID_CAST_TO_GEOMETRY, "22S01", "Invalid cast.", "Invalid cast from %s to %s.", 600, "Invalid cast.", "Invalid cast from %s to %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_CAST_POLYGON_RING_DIRECTION, -7261, ER_INVALID_CAST_POLYGON_RING_DIRECTION, "22S04", "Invalid cast. A polygon ring is in the wrong direction.", "Invalid cast from %s to %s. A polygon ring is in the wrong direction.", 600, "Invalid cast. A polygon ring is in the wrong direction.", "Invalid cast from %s to %s. A polygon ring is in the wrong direction.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_GIS_DIFFERENT_SRIDS_AGGREGATION, -7262, ER_GIS_DIFFERENT_SRIDS_AGGREGATION, "22S05", "Arguments to function contains geometries with different SRIDs. All geometries must have the same SRID.", "Arguments to function %s contains geometries with different SRIDs: %u and %u. All geometries must have the same SRID.", 600, "Arguments to function contains geometries with different SRIDs. All geometries must have the same SRID.", "Arguments to function %s contains geometries with different SRIDs: %u and %u. All geometries must have the same SRID.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_LONGITUDE_OUT_OF_RANGE, -7263, ER_LONGITUDE_OUT_OF_RANGE, "22S02", "Longitude is out of range in function.", "Longitude %f is out of range in function %.192s. It must be within (%f, %f].", 600, "Longitude is out of range in function.", "Longitude %f is out of range in function %.192s. It must be within (%f, %f].");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_LATITUDE_OUT_OF_RANGE, -7264, ER_LATITUDE_OUT_OF_RANGE, "22S03", "Latitude is out of range in function.", "Latitude %f is out of range in function %.192s. It must be within [%f, %f].", 600, "Latitude is out of range in function.", "Latitude %f is out of range in function %.192s. It must be within [%f, %f].");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_BAD_ALLOC_ERROR, -7265, ER_STD_BAD_ALLOC_ERROR, "HY000", "Memory allocation error", "Memory allocation error: %-.256s in function %s.", 600, "Memory allocation error", "Memory allocation error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_DOMAIN_ERROR, -7266, ER_STD_DOMAIN_ERROR, "HY000", "Domain error", "Domain error: %-.256s in function %s.", 600, "Domain error", "Domain error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_LENGTH_ERROR, -7267, ER_STD_LENGTH_ERROR, "HY000", "Length error", "Length error: %-.256s in function %s.", 600, "Length error", "Length error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_INVALID_ARGUMENT, -7268, ER_STD_INVALID_ARGUMENT, "HY000", "Invalid argument error", "Invalid argument error: %-.256s in function %s.", 600, "Invalid argument error", "Invalid argument error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_OUT_OF_RANGE_ERROR, -7269, ER_STD_OUT_OF_RANGE_ERROR, "HY000", "Out of range error", "Out of range error: %-.256s in function %s.", 600, "Out of range error", "Out of range error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_OVERFLOW_ERROR, -7270, ER_STD_OVERFLOW_ERROR, "HY000", "Overflow error", "Overflow error: %-.256s in function %s.", 600, "Overflow error", "Overflow error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_RANGE_ERROR, -7271, ER_STD_RANGE_ERROR, "HY000", "Range error", "Range error: %-.256s in function %s.", 600, "Range error", "Range error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_UNDERFLOW_ERROR, -7272, ER_STD_UNDERFLOW_ERROR, "HY000", "Underflow error", "Underflow error: %-.256s in function %s.", 600, "Underflow error", "Underflow error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_LOGIC_ERROR, -7273, ER_STD_LOGIC_ERROR, "HY000", "Logic error", "Logic error: %-.256s in function %s.", 600, "Logic error", "Logic error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_RUNTIME_ERROR, -7274, ER_STD_RUNTIME_ERROR, "HY000", "Runtime error", "Runtime error: %-.256s in function %s.", 600, "Runtime error", "Runtime error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_STD_UNKNOWN_EXCEPTION, -7275, ER_STD_UNKNOWN_EXCEPTION, "HY000", "Unknown exception", "Unknown exception: %-.384s in function %s.", 600, "Unknown exception", "Unknown exception: %-.384s in function %s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_CANT_CREATE_GEOMETRY_OBJECT, -7276, ER_CANT_CREATE_GEOMETRY_OBJECT, "22003", "Cannot get geometry object from data you send to the GEOMETRY field.", "Cannot get geometry object from data you send to the GEOMETRY field.", 600, "Cannot get geometry object from data you send to the GEOMETRY field.", "Cannot get geometry object from data you send to the GEOMETRY field.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRID_WRONG_USAGE, -7277, ER_WRONG_USAGE, "HY000", "Incorrect usage of srid, srid column attribute only support in geometry.", "Incorrect usage of srid.", 600, "Incorrect usage of srid.", "Incorrect usage of srid.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INDEX_ORDER_WRONG_USAGE, -7278, ER_WRONG_USAGE, "HY000", "Incorrect usage of spatial/fulltext/hash index and explicit index order.", "Incorrect usage of spatial/fulltext/hash index and explicit index order.", 600, "Incorrect usage of spatial/fulltext/hash index and explicit index order.", "Incorrect usage of spatial/fulltext/hash index and explicit index order.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SPATIAL_MUST_HAVE_GEOM_COL, -7279, ER_SPATIAL_MUST_HAVE_GEOM_COL, "42000", "A SPATIAL index may only contain a geometrical type column.", "A SPATIAL index may only contain a geometrical type column.", 600, "A SPATIAL index may only contain a geometrical type column.", "A SPATIAL index may only contain a geometrical type column.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SPATIAL_CANT_HAVE_NULL, -7280, ER_SPATIAL_CANT_HAVE_NULL, "42000", "All parts of a SPATIAL index must be NOT NULL.", "All parts of a SPATIAL index must be NOT NULL.", 600, "All parts of a SPATIAL index must be NOT NULL.", "All parts of a SPATIAL index must be NOT NULL.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX, -7281, ER_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX, "HY000", "The index type is not supported for spatial indexes.", "The index type %s is not supported for spatial indexes.", 600, "The index type is not supported for spatial indexes.", "The index type %s is not supported for spatial indexes.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_UNIT_NOT_FOUND, -7282, ER_UNIT_NOT_FOUND, "SU001", "There\'s no unit of measure.", "There\'s no unit of measure named \'%s\'.", 600, "There\'s no unit of measure.", "There\'s no unit of measure named \'%s\'.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_OPTION_KEY_VALUE_PAIR, -7283, ER_INVALID_OPTION_KEY_VALUE_PAIR, "22023", "The string is not a valid key value pair in function.", "The string \'%.192s\' is not a valid key %c value pair in function %.192s.", 600, "The string is not a valid key value pair in function.", "The string \'%.192s\' is not a valid key %c value pair in function %.192s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_NONPOSITIVE_RADIUS, -7284, ER_NONPOSITIVE_RADIUS, "22023", "Invalid radius provided to function: Radius must be greater than zero.", "Invalid radius provided to function %s: Radius(%lf) must be greater than zero.", 600, "Invalid radius provided to function: Radius must be greater than zero.", "Invalid radius provided to function %s: Radius(%lf) must be greater than zero.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_SRS_EMPTY, -7285, ER_SRS_NOT_FOUND, "SR001", "Spatial reference system is empty.", "Spatial reference system is empty", 600, "Spatial reference system is empty", "Spatial reference system is empty");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_OPTION_KEY, -7286, ER_INVALID_OPTION_KEY, "22023", "Invalid option key in function.", "Invalid option key \'%.192s\' in function %.192s.", 600, "Invalid option key in function.", "Invalid option key \'%.192s\' in function %.192s.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_OPTION_VALUE, -7287, ER_INVALID_OPTION_VALUE, "22023", "Invalid value for option in function.", "Invalid value \'%.192s\' for option \'%.192s\' in function \'%.192s\'.", 600, "Invalid value for option in function.", "Invalid value \'%.192s\' for option \'%.192s\' in function \'%.192s\'.");
DEFINE_ORACLE_ERROR_EXT(OB_ERR_INVALID_GEOMETRY_TYPE, -7288, ER_UNEXPECTED_GEOMETRY_TYPE, "22S01", "Unknown WKB type.", "Unknown WKB type(%d)! Full WKB type number was (%d).", 600, "Unknown WKB type.", "Unknown WKB type(%d)! Full WKB type number was (%d).");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GIS_DIFFERENT_SRIDS, -7201, ER_GIS_DIFFERENT_SRIDS, "HY000", "Binary geometry function given two geometries of different srids.", "Binary geometry function %s given two geometries of different srids: %u and %u, which should have been identical.", 600, "Binary geometry function given two geometries of different srids.", "Binary geometry function %s given two geometries of different srids: %u and %u, which should have been identical.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GIS_UNSUPPORTED_ARGUMENT, -7202, ER_GIS_UNSUPPORTED_ARGUMENT, "HY000", "Calling geometry function with unsupported types of arguments.", "Calling geometry function %s with unsupported types of arguments.", 600, "Calling geometry function with unsupported types of arguments.", "Calling geometry function %s with unsupported types of arguments.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GIS_UNKNOWN_ERROR, -7203, ER_GIS_UNKNOWN_ERROR, "HY000", "Unknown GIS error occurred in function.", "Unknown GIS error occurred in function %s.", 600, "Unknown GIS error occurred in function.", "Unknown GIS error occurred in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GIS_UNKNOWN_EXCEPTION, -7204, ER_GIS_UNKNOWN_EXCEPTION, "HY000", "Unknown exception caught in GIS function.", "Unknown exception caught in GIS function %s.", 600, "Unknown exception caught in GIS function.", "Unknown exception caught in GIS function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GIS_INVALID_DATA, -7205, ER_GIS_INVALID_DATA, "22023", "Invalid GIS data provided to function.", "Invalid GIS data provided to function %s.", 600, "Invalid GIS data provided to function.", "Invalid GIS data provided to function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION, -7206, ER_BOOST_GEOMETRY_EMPTY_INPUT_EXCEPTION, "HY000", "The geometry has no data in function.", "The geometry has no data in function %s.", 600, "The geometry has no data in function.", "The geometry has no data in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_BOOST_GEOMETRY_CENTROID_EXCEPTION, -7207, ER_BOOST_GEOMETRY_CENTROID_EXCEPTION, "HY000", "Unable to calculate centroid because geometry is empty in function.", "Unable to calculate centroid because geometry is empty in function %s.", 600, "Unable to calculate centroid because geometry is empty in function.", "Unable to calculate centroid because geometry is empty in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION, -7208, ER_BOOST_GEOMETRY_OVERLAY_INVALID_INPUT_EXCEPTION, "HY000", "Geometry overlay calculation error: geometry data is invalid in function.", "Geometry overlay calculation error: geometry data is invalid in function %s.", 600, "Geometry overlay calculation error: geometry data is invalid in function.", "Geometry overlay calculation error: geometry data is invalid in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_BOOST_GEOMETRY_TURN_INFO_EXCEPTION, -7209, ER_BOOST_GEOMETRY_TURN_INFO_EXCEPTION, "HY000", "Geometry turn info calculation error: geometry data is invalid in function.", "Geometry turn info calculation error: geometry data is invalid in function %s.", 600, "Geometry turn info calculation error: geometry data is invalid in function.", "Geometry turn info calculation error: geometry data is invalid in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION, -7210, ER_BOOST_GEOMETRY_SELF_INTERSECTION_POINT_EXCEPTION, "HY000", "Analysis procedures of intersection points interrupted unexpectedly in function.", "Analysis procedures of intersection points interrupted unexpectedly in function %s.", 600, "Analysis procedures of intersection points interrupted unexpectedly in function.", "Analysis procedures of intersection points interrupted unexpectedly in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_BOOST_GEOMETRY_UNKNOWN_EXCEPTION, -7211, ER_BOOST_GEOMETRY_UNKNOWN_EXCEPTION, "HY000", "Unknown exception thrown in function.", "Unknown exception thrown in function %s.", 600, "Unknown exception thrown in function.", "Unknown exception thrown in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GIS_DATA_WRONG_ENDIANESS, -7212, ER_GIS_DATA_WRONG_ENDIANESS, "HY000", "Geometry byte string must be little endian.", "Geometry byte string must be little endian.", 600, "Geometry byte string must be little endian.", "Geometry byte string must be little endian.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS, -7213, ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_GIS, "HY000", "Do not support online operation on table with GIS index", "Do not support online operation on table with GIS index", 600, "Do not support online operation on table with GIS index", "Do not support online operation on table with GIS index");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION, -7214, ER_BOOST_GEOMETRY_INCONSISTENT_TURNS_EXCEPTION, "HY000", "Inconsistent intersection points.", "Inconsistent intersection points.", 600, "Inconsistent intersection points.", "Inconsistent intersection points.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED, -7215, ER_GIS_MAX_POINTS_IN_GEOMETRY_OVERFLOWED, "HY000", "Parameter exceeds the maximum number of points in a geometryin function.", "Parameter %s exceeds the maximum number of points in a geometry (%lu) in function %s.", 600, "Parameter exceeds the maximum number of points in a geometry in function.", "Parameter %s exceeds the maximum number of points in a geometry (%lu) in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_UNEXPECTED_GEOMETRY_TYPE, -7216, ER_UNEXPECTED_GEOMETRY_TYPE, "22S01", "value is a geometry of unexpected type", "%.64s value is a geometry of unexpected type %.64s in %.64s.", 600, "Invalid value type", "%.64s value is a geometry of unexpected type %.64s in %.64s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_PARSE_ERROR, -7217, ER_SRS_PARSE_ERROR, "SR002", "Can\'t parse the spatial reference system definition of SRID.", "Can\'t parse the spatial reference system definition of SRID %u.", 600, "Can\'t parse the spatial reference system definition of SRID.", "Can\'t parse the spatial reference system definition of SRID %u.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_PROJ_PARAMETER_MISSING, -7218, ER_SRS_PROJ_PARAMETER_MISSING, "SR003", "The spatial reference system definition for SRID does not specify the mandatory (EPSG) projection parameter.", "The spatial reference system definition for SRID %u does not specify the mandatory %s (EPSG %u) projection parameter.", 600, "The spatial reference system definition for SRID does not specify the mandatory (EPSG) projection parameter.", "The spatial reference system definition for SRID %u does not specify the mandatory %s (EPSG %u) projection parameter.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_WARN_SRS_NOT_FOUND, -7219, ER_WARN_SRS_NOT_FOUND, "01000", "There\'s no spatial reference system with SRID.", "There\'s no spatial reference system with SRID %u.", 600, "There\'s no spatial reference system with SRID.", "There\'s no spatial reference system with SRID %u.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_NOT_CARTESIAN, -7220, ER_SRS_NOT_CARTESIAN, "22S00", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which is not Cartesian.", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which is not Cartesian.", 600, "Function is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID, which is not Cartesian.", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which is not Cartesian.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_NOT_CARTESIAN_UNDEFINED, -7221, ER_SRS_NOT_CARTESIAN_UNDEFINED, "SR001", "Function is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID, which has not been defined.", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which has not been defined.", 600, "Function is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID, which has not been defined.", "Function %s is only defined for Cartesian spatial reference systems, but one of its arguments is in SRID %u, which has not been defined.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_NOT_FOUND, -7222, ER_SRS_NOT_FOUND, "SR001", "There\'s no spatial reference system with SRID.", "There\'s no spatial reference system with SRID %u.", 600, "There\'s no spatial reference system with SRID.", "There\'s no spatial reference system with SRID %u.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_WARN_SRS_NOT_FOUND_AXIS_ORDER, -7223, ER_WARN_SRS_NOT_FOUND_AXIS_ORDER, "01000", "There\'s no spatial reference system with SRID. The axis order is unknown.", "There\'s no spatial reference system with SRID %u. The axis order is unknown.", 600, "There\'s no spatial reference system with SRID. The axis order is unknown.", "There\'s no spatial reference system with SRID %u. The axis order is unknown.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS, -7224, ER_NOT_IMPLEMENTED_FOR_GEOGRAPHIC_SRS, "22S00", "It has not been implemented for geographic spatial reference systems.", "%.192s(%.80s) has not been implemented for geographic spatial reference systems.", 600, "It has not been implemented for geographic spatial reference systems.", "%.192s(%.80s) has not been implemented for geographic spatial reference systems.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_WRONG_SRID_FOR_COLUMN, -7225, ER_WRONG_SRID_FOR_COLUMN, "HY000", "The SRID of the geometry does not match the SRID of the column.", "The SRID of the geometry does not match the SRID of the column. The SRID of the geometry is %lu, but the SRID of the column is %lu. Consider changing the SRID of the geometry or the SRID property of the column.", 600, "The SRID of the geometry does not match the SRID of the column.", "The SRID of the geometry does not match the SRID of the column. The SRID of the geometry is %lu, but the SRID of the column is %lu. Consider changing the SRID of the geometry or the SRID property of the column.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_CANNOT_ALTER_SRID_DUE_TO_INDEX, -7226, ER_CANNOT_ALTER_SRID_DUE_TO_INDEX, "HY000", "The SRID specification on the column cannot be changed because there is a spatial index on the column.", "The SRID specification on the column \'%.64s\' cannot be changed because there is a spatial index on the column. Please remove the spatial index before altering the SRID specification.", 600, "The SRID specification on the column cannot be changed because there is a spatial index on the column.", "The SRID specification on the column \'%.64s\' cannot be changed because there is a spatial index on the column. Please remove the spatial index before altering the SRID specification.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_WARN_USELESS_SPATIAL_INDEX, -7227, ER_WARN_USELESS_SPATIAL_INDEX, "HY000", "The spatial index on column will not be used by the query optimizer since the column does not have an SRID attribute.", "The spatial index on column \'%.64s\' will not be used by the query optimizer since the column does not have an SRID attribute. Consider adding an SRID attribute to the column.", 600, "The spatial index on column will not be used by the query optimizer since the column does not have an SRID attribute.", "The spatial index on column \'%.64s\' will not be used by the query optimizer since the column does not have an SRID attribute. Consider adding an SRID attribute to the column.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326, -7228, ER_ONLY_IMPLEMENTED_FOR_SRID_0_AND_4326, "22S00", "Function is only defined for SRID 0 and SRID 4326.", "Function %.192s is only defined for SRID 0 and SRID 4326.", 600, "Function is only defined for SRID 0 and SRID 4326.", "Function %.192s is only defined for SRID 0 and SRID 4326.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS, -7229, ER_NOT_IMPLEMENTED_FOR_CARTESIAN_SRS, "22S00", "It has not been implemented for Cartesian spatial reference systems.", "%.192s(%.80s) has not been implemented for Cartesian spatial reference systems.", 600, "It has not been implemented for Cartesian spatial reference systems.", "%.192s(%.80s) has not been implemented for Cartesian spatial reference systems.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_NOT_IMPLEMENTED_FOR_PROJECTED_SRS, -7230, ER_NOT_IMPLEMENTED_FOR_PROJECTED_SRS, "22S00", "It has not been implemented for projected spatial reference systems.", "%.192s(%.80s) has not been implemented for projected spatial reference systems.", 600, "It has not been implemented for projected spatial reference systems.", "%.192s(%.80s) has not been implemented for projected spatial reference systems.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_MISSING_MANDATORY_ATTRIBUTE, -7231, ER_SRS_MISSING_MANDATORY_ATTRIBUTE, "SR006", "Missing mandatory attribute.", "Missing mandatory attribute %s.", 600, "Missing mandatory attribute.", "Missing mandatory attribute %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS, -7232, ER_SRS_MULTIPLE_ATTRIBUTE_DEFINITIONS, "SR006", "Multiple definitions of attribute.", "Multiple definitions of attribute %s.", 600, "Multiple definitions of attribute.", "Multiple definitions of attribute %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE, -7233, ER_SRS_NAME_CANT_BE_EMPTY_OR_WHITESPACE, "SR006", "The spatial reference system name can\'t be an empty string or start or end with whitespace.", "The spatial reference system name can\'t be an empty string or start or end with whitespace.", 600, "The spatial reference system name can\'t be an empty string or start or end with whitespace.", "The spatial reference system name can\'t be an empty string or start or end with whitespace.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE, -7234, ER_SRS_ORGANIZATION_CANT_BE_EMPTY_OR_WHITESPACE, "SR006", "The organization name can\'t be an empty string or start or end with whitespace.", "The organization name can\'t be an empty string or start or end with whitespace.", 600, "The organization name can\'t be an empty string or start or end with whitespace.", "The organization name can\'t be an empty string or start or end with whitespace.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_ID_ALREADY_EXISTS, -7235, ER_SRS_ID_ALREADY_EXISTS, "SR004", "There is already a spatial reference system with SRID.", "There is already a spatial reference system with SRID %u.", 600, "There is already a spatial reference system with SRID.", "There is already a spatial reference system with SRID %u.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_WARN_SRS_ID_ALREADY_EXISTS, -7236, ER_WARN_SRS_ID_ALREADY_EXISTS, "01S00", "There is already a spatial reference system with SRID.", "There is already a spatial reference system with SRID %u.", 600, "There is already a spatial reference system with SRID.", "There is already a spatial reference system with SRID %u.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_CANT_MODIFY_SRID_0, -7237, ER_CANT_MODIFY_SRID_0, "SR000", "SRID 0 is not modifiable.", "SRID 0 is not modifiable.", 600, "SRID 0 is not modifiable.", "SRID 0 is not modifiable.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_WARN_RESERVED_SRID_RANGE, -7238, ER_WARN_RESERVED_SRID_RANGE, "01S01", "The SRID range has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade.", "The SRID range [%u, %u] has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade.", 600, "The SRID range has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade.", "The SRID range [%u, %u] has been reserved for system use. SRSs in this range may be added, modified or removed without warning during upgrade.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_CANT_MODIFY_SRS_USED_BY_COLUMN, -7239, ER_CANT_MODIFY_SRS_USED_BY_COLUMN, "SR005", "Can\'t modify SRID. There is at least one column depending on it.", "Can\'t modify SRID %u. There is at least one column depending on it.", 600, "Can\'t modify SRID. There is at least one column depending on it.", "Can\'t modify SRID %u. There is at least one column depending on it.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_INVALID_CHARACTER_IN_ATTRIBUTE, -7240, ER_SRS_INVALID_CHARACTER_IN_ATTRIBUTE, "SR006", "Invalid character in attribute.", "Invalid character in attribute %s.", 600, "Invalid character in attribute.", "Invalid character in attribute %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_ATTRIBUTE_STRING_TOO_LONG, -7241, ER_SRS_ATTRIBUTE_STRING_TOO_LONG, "SR006", "Attribute is too long.", "Attribute %s is too long. The maximum length is %u characters.", 600, "Attribute is too long.", "Attribute %s is too long. The maximum length is %u characters.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_NOT_GEOGRAPHIC, -7242, ER_SRS_NOT_GEOGRAPHIC, "22S00", "Function is only defined for geographic spatial reference systems, but one of its arguments is in SRID, which is not geographic.", "Function %s is only defined for geographic spatial reference systems, but one of its arguments is in SRID %u, which is not geographic.", 600, "Function is only defined for geographic spatial reference systems, but one of its arguments is in SRID, which is not geographic.", "Function %s is only defined for geographic spatial reference systems, but one of its arguments is in SRID %u, which is not geographic.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_POLYGON_TOO_LARGE, -7243, ER_POLYGON_TOO_LARGE, "22023", "Function encountered a polygon that was too large. Polygons must cover less than half the planet.", "Function %s encountered a polygon that was too large. Polygons must cover less than half the planet.", 600, "Function encountered a polygon that was too large. Polygons must cover less than half the planet.", "Function %s encountered a polygon that was too large. Polygons must cover less than half the planet.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SPATIAL_UNIQUE_INDEX, -7244, ER_SPATIAL_UNIQUE_INDEX, "HY000", "Spatial indexes can\'t be primary or unique indexes.", "Spatial indexes can\'t be primary or unique indexes.", 600, "Spatial indexes can\'t be primary or unique indexes.", "Spatial indexes can\'t be primary or unique indexes.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX, -7245, ER_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX, "HY000", "The index type is not supported for spatial indexes.", "The index type %.20s is not supported for spatial indexes.", 600, "The index type is not supported for spatial indexes.", "The index type %.20s is not supported for spatial indexes.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE, -7246, ER_GEOMETRY_PARAM_LONGITUDE_OUT_OF_RANGE, "22S02", "A parameter of function contains a geometry with longitude, which is out of range.", "A parameter of function %.192s contains a geometry with longitude %f, which is out of range. It must be within (%f, %f].", 600, "A parameter of function contains a geometry with longitude, which is out of range.", "A parameter of function %.192s contains a geometry with longitude %f, which is out of range. It must be within (%f, %f].");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE, -7247, ER_GEOMETRY_PARAM_LATITUDE_OUT_OF_RANGE, "22S03", "A parameter of function contains a geometry with latitude, which is out of range.", "A parameter of function %.192s contains a geometry with latitude %f, which is out of range. It must be within [%f, %f].", 600, "A parameter of function contains a geometry with latitude, which is out of range.", "A parameter of function %.192s contains a geometry with latitude %f, which is out of range. It must be within [%f, %f].");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_GEOGCS_INVALID_AXES, -7248, ER_SRS_GEOGCS_INVALID_AXES, "SR002", "The spatial reference system definition for SRID specifies invalid geographic axes. One axis must be NORTH or SOUTH and the other must be EAST or WEST.", "The spatial reference system definition for SRID %u specifies invalid geographic axes \'%.20s\' and \'%.20s\'. One axis must be NORTH or SOUTH and the other must be EAST or WEST.", 600, "The spatial reference system definition for SRID specifies invalid geographic axes. One axis must be NORTH or SOUTH and the other must be EAST or WEST.", "The spatial reference system definition for SRID %u specifies invalid geographic axes \'%.20s\' and \'%.20s\'. One axis must be NORTH or SOUTH and the other must be EAST or WEST.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_INVALID_SEMI_MAJOR_AXIS, -7249, ER_SRS_INVALID_SEMI_MAJOR_AXIS, "SR002", "The length of the semi-major axis must be a positive number.", "The length of the semi-major axis must be a positive number.", 600, "The length of the semi-major axis must be a positive number.", "The length of the semi-major axis must be a positive number.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_INVALID_INVERSE_FLATTENING, -7250, ER_SRS_INVALID_INVERSE_FLATTENING, "SR002", "The inverse flattening must be larger than 1.0, or 0.0 if the ellipsoid is a sphere.", "The inverse flattening must be larger than 1.0, or 0.0 if the ellipsoid is a sphere.", 600, "The inverse flattening must be larger than 1.0, or 0.0 if the ellipsoid is a sphere.", "The inverse flattening must be larger than 1.0, or 0.0 if the ellipsoid is a sphere.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_INVALID_ANGULAR_UNIT, -7251, ER_SRS_INVALID_ANGULAR_UNIT, "SR002", "The angular unit conversion factor must be a positive number.", "The angular unit conversion factor must be a positive number.", 600, "The angular unit conversion factor must be a positive number.", "The angular unit conversion factor must be a positive number.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_INVALID_PRIME_MERIDIAN, -7252, ER_SRS_INVALID_PRIME_MERIDIAN, "SR002", "The prime meridian must be within (-180, 180] degrees, specified in the SRS angular unit.", "The prime meridian must be within (-180, 180] degrees, specified in the SRS angular unit.", 600, "The prime meridian must be within (-180, 180] degrees, specified in the SRS angular unit.", "The prime meridian must be within (-180, 180] degrees, specified in the SRS angular unit.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED, -7253, ER_TRANSFORM_SOURCE_SRS_NOT_SUPPORTED, "22S00", "Transformation from SRID is not supported.", "Transformation from SRID %u is not supported.", 600, "Transformation from SRID is not supported.", "Transformation from SRID %u is not supported.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_TRANSFORM_TARGET_SRS_NOT_SUPPORTED, -7254, ER_TRANSFORM_TARGET_SRS_NOT_SUPPORTED, "22S00", "Transformation to SRID %u is not supported.", "Transformation to SRID %u is not supported.", 600, "Transformation to SRID is not supported.", "Transformation to SRID %u is not supported.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84, -7255, ER_TRANSFORM_SOURCE_SRS_MISSING_TOWGS84, "22S00", "Transformation from SRID is not supported. The spatial reference system has no TOWGS84 clause.", "Transformation from SRID %u is not supported. The spatial reference system has no TOWGS84 clause.", 600, "Transformation from SRID is not supported. The spatial reference system has no TOWGS84 clause.", "Transformation from SRID %u is not supported. The spatial reference system has no TOWGS84 clause.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_TRANSFORM_TARGET_SRS_MISSING_TOWGS84, -7256, ER_TRANSFORM_TARGET_SRS_MISSING_TOWGS84, "22S00", "Transformation to SRID is not supported. The spatial reference system has no TOWGS84 clause.", "Transformation to SRID %u is not supported. The spatial reference system has no TOWGS84 clause.", 600, "Transformation to SRID is not supported. The spatial reference system has no TOWGS84 clause.", "Transformation to SRID %u is not supported. The spatial reference system has no TOWGS84 clause.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION, -7257, ER_FUNCTIONAL_INDEX_ON_JSON_OR_GEOMETRY_FUNCTION, "42000", "Cannot create a functional index on a function that returns a JSON or GEOMETRY value.", "Cannot create a functional index on a function that returns a JSON or GEOMETRY value.", 600, "Cannot create a functional index on a function that returns a JSON or GEOMETRY value.", "Cannot create a functional index on a function that returns a JSON or GEOMETRY value.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SPATIAL_FUNCTIONAL_INDEX, -7258, ER_SPATIAL_FUNCTIONAL_INDEX, "HY000", "Spatial functional index is not supported.", "Spatial functional index is not supported.", 600, "Spatial functional index is not supported.", "Spatial functional index is not supported.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT, -7259, ER_GEOMETRY_IN_UNKNOWN_LENGTH_UNIT, "SU001", "The geometry passed to function is in SRID 0, which doesn\'t specify a length unit. Can\'t convert.", "The geometry passed to function %s is in SRID 0, which doesn\'t specify a length unit. Can\'t convert to \'%s\'.", 600, "The geometry passed to function is in SRID 0, which doesn\'t specify a length unit. Can\'t convert.", "The geometry passed to function %s is in SRID 0, which doesn\'t specify a length unit. Can\'t convert to \'%s\'.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INVALID_CAST_TO_GEOMETRY, -7260, ER_INVALID_CAST_TO_GEOMETRY, "22S01", "Invalid cast.", "Invalid cast from %s to %s.", 600, "Invalid cast.", "Invalid cast from %s to %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INVALID_CAST_POLYGON_RING_DIRECTION, -7261, ER_INVALID_CAST_POLYGON_RING_DIRECTION, "22S04", "Invalid cast. A polygon ring is in the wrong direction.", "Invalid cast from %s to %s. A polygon ring is in the wrong direction.", 600, "Invalid cast. A polygon ring is in the wrong direction.", "Invalid cast from %s to %s. A polygon ring is in the wrong direction.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_GIS_DIFFERENT_SRIDS_AGGREGATION, -7262, ER_GIS_DIFFERENT_SRIDS_AGGREGATION, "22S05", "Arguments to function contains geometries with different SRIDs. All geometries must have the same SRID.", "Arguments to function %s contains geometries with different SRIDs: %u and %u. All geometries must have the same SRID.", 600, "Arguments to function contains geometries with different SRIDs. All geometries must have the same SRID.", "Arguments to function %s contains geometries with different SRIDs: %u and %u. All geometries must have the same SRID.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_LONGITUDE_OUT_OF_RANGE, -7263, ER_LONGITUDE_OUT_OF_RANGE, "22S02", "Longitude is out of range in function.", "Longitude %f is out of range in function %.192s. It must be within (%f, %f].", 600, "Longitude is out of range in function.", "Longitude %f is out of range in function %.192s. It must be within (%f, %f].");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_LATITUDE_OUT_OF_RANGE, -7264, ER_LATITUDE_OUT_OF_RANGE, "22S03", "Latitude is out of range in function.", "Latitude %f is out of range in function %.192s. It must be within [%f, %f].", 600, "Latitude is out of range in function.", "Latitude %f is out of range in function %.192s. It must be within [%f, %f].");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_BAD_ALLOC_ERROR, -7265, ER_STD_BAD_ALLOC_ERROR, "HY000", "Memory allocation error", "Memory allocation error: %-.256s in function %s.", 600, "Memory allocation error", "Memory allocation error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_DOMAIN_ERROR, -7266, ER_STD_DOMAIN_ERROR, "HY000", "Domain error", "Domain error: %-.256s in function %s.", 600, "Domain error", "Domain error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_LENGTH_ERROR, -7267, ER_STD_LENGTH_ERROR, "HY000", "Length error", "Length error: %-.256s in function %s.", 600, "Length error", "Length error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_INVALID_ARGUMENT, -7268, ER_STD_INVALID_ARGUMENT, "HY000", "Invalid argument error", "Invalid argument error: %-.256s in function %s.", 600, "Invalid argument error", "Invalid argument error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_OUT_OF_RANGE_ERROR, -7269, ER_STD_OUT_OF_RANGE_ERROR, "HY000", "Out of range error", "Out of range error: %-.256s in function %s.", 600, "Out of range error", "Out of range error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_OVERFLOW_ERROR, -7270, ER_STD_OVERFLOW_ERROR, "HY000", "Overflow error", "Overflow error: %-.256s in function %s.", 600, "Overflow error", "Overflow error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_RANGE_ERROR, -7271, ER_STD_RANGE_ERROR, "HY000", "Range error", "Range error: %-.256s in function %s.", 600, "Range error", "Range error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_UNDERFLOW_ERROR, -7272, ER_STD_UNDERFLOW_ERROR, "HY000", "Underflow error", "Underflow error: %-.256s in function %s.", 600, "Underflow error", "Underflow error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_LOGIC_ERROR, -7273, ER_STD_LOGIC_ERROR, "HY000", "Logic error", "Logic error: %-.256s in function %s.", 600, "Logic error", "Logic error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_RUNTIME_ERROR, -7274, ER_STD_RUNTIME_ERROR, "HY000", "Runtime error", "Runtime error: %-.256s in function %s.", 600, "Runtime error", "Runtime error: %-.256s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_STD_UNKNOWN_EXCEPTION, -7275, ER_STD_UNKNOWN_EXCEPTION, "HY000", "Unknown exception", "Unknown exception: %-.384s in function %s.", 600, "Unknown exception", "Unknown exception: %-.384s in function %s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_CANT_CREATE_GEOMETRY_OBJECT, -7276, ER_CANT_CREATE_GEOMETRY_OBJECT, "22003", "Cannot get geometry object from data you send to the GEOMETRY field.", "Cannot get geometry object from data you send to the GEOMETRY field.", 600, "Cannot get geometry object from data you send to the GEOMETRY field.", "Cannot get geometry object from data you send to the GEOMETRY field.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRID_WRONG_USAGE, -7277, ER_WRONG_USAGE, "HY000", "Incorrect usage of srid, srid column attribute only support in geometry.", "Incorrect usage of srid.", 600, "Incorrect usage of srid.", "Incorrect usage of srid.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INDEX_ORDER_WRONG_USAGE, -7278, ER_WRONG_USAGE, "HY000", "Incorrect usage of spatial/fulltext/hash index and explicit index order.", "Incorrect usage of spatial/fulltext/hash index and explicit index order.", 600, "Incorrect usage of spatial/fulltext/hash index and explicit index order.", "Incorrect usage of spatial/fulltext/hash index and explicit index order.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SPATIAL_MUST_HAVE_GEOM_COL, -7279, ER_SPATIAL_MUST_HAVE_GEOM_COL, "42000", "A SPATIAL index may only contain a geometrical type column.", "A SPATIAL index may only contain a geometrical type column.", 600, "A SPATIAL index may only contain a geometrical type column.", "A SPATIAL index may only contain a geometrical type column.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SPATIAL_CANT_HAVE_NULL, -7280, ER_SPATIAL_CANT_HAVE_NULL, "42000", "All parts of a SPATIAL index must be NOT NULL.", "All parts of a SPATIAL index must be NOT NULL.", 600, "All parts of a SPATIAL index must be NOT NULL.", "All parts of a SPATIAL index must be NOT NULL.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX, -7281, ER_INDEX_TYPE_NOT_SUPPORTED_FOR_SPATIAL_INDEX, "HY000", "The index type is not supported for spatial indexes.", "The index type %s is not supported for spatial indexes.", 600, "The index type is not supported for spatial indexes.", "The index type %s is not supported for spatial indexes.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_UNIT_NOT_FOUND, -7282, ER_UNIT_NOT_FOUND, "SU001", "There\'s no unit of measure.", "There\'s no unit of measure named \'%s\'.", 600, "There\'s no unit of measure.", "There\'s no unit of measure named \'%s\'.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INVALID_OPTION_KEY_VALUE_PAIR, -7283, ER_INVALID_OPTION_KEY_VALUE_PAIR, "22023", "The string is not a valid key value pair in function.", "The string \'%.192s\' is not a valid key %c value pair in function %.192s.", 600, "The string is not a valid key value pair in function.", "The string \'%.192s\' is not a valid key %c value pair in function %.192s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_NONPOSITIVE_RADIUS, -7284, ER_NONPOSITIVE_RADIUS, "22023", "Invalid radius provided to function: Radius must be greater than zero.", "Invalid radius provided to function %s: Radius(%lf) must be greater than zero.", 600, "Invalid radius provided to function: Radius must be greater than zero.", "Invalid radius provided to function %s: Radius(%lf) must be greater than zero.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_SRS_EMPTY, -7285, ER_SRS_NOT_FOUND, "SR001", "Spatial reference system is empty.", "Spatial reference system is empty", 600, "Spatial reference system is empty", "Spatial reference system is empty");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INVALID_OPTION_KEY, -7286, ER_INVALID_OPTION_KEY, "22023", "Invalid option key in function.", "Invalid option key \'%.192s\' in function %.192s.", 600, "Invalid option key in function.", "Invalid option key \'%.192s\' in function %.192s.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INVALID_OPTION_VALUE, -7287, ER_INVALID_OPTION_VALUE, "22023", "Invalid value for option in function.", "Invalid value \'%.192s\' for option \'%.192s\' in function \'%.192s\'.", 600, "Invalid value for option in function.", "Invalid value \'%.192s\' for option \'%.192s\' in function \'%.192s\'.");
DEFINE_ORACLE_ERROR_EXT_DEP(OB_ERR_INVALID_GEOMETRY_TYPE, -7288, ER_UNEXPECTED_GEOMETRY_TYPE, "22S01", "Unknown WKB type.", "Unknown WKB type(%d)! Full WKB type number was (%d).", 600, "Unknown WKB type.", "Unknown WKB type(%d)! Full WKB type number was (%d).");
////////////////////////////////////////////////////////////////
// !!! Fatal errors and the client should close the connection, -8000 ~ -8999