[CP][FEAT MERGE]SDO_GEOMETRY & MYSQL GIS EXPR IMPLEMENT
This commit is contained in:
@ -97,6 +97,11 @@ int ObPlanCacheObject::set_params_info(const ParamStore ¶ms)
|
||||
param_info.scale_ = data_type.get_scale();
|
||||
}
|
||||
LOG_DEBUG("ext params info", K(data_type), K(param_info), K(params.at(i)));
|
||||
} else if (params.at(i).is_user_defined_sql_type() || params.at(i).is_collection_sql_type()) {
|
||||
param_info.scale_ = 0;
|
||||
uint64_t udt_id = params.at(i).get_accuracy().get_accuracy();
|
||||
*(reinterpret_cast<uint32 *>(¶m_info.ext_real_type_)) = (udt_id >> 32) & UINT_MAX32;
|
||||
*(reinterpret_cast<uint32 *>(¶m_info.col_type_)) = (udt_id) & UINT_MAX32;
|
||||
} else {
|
||||
param_info.scale_ = params.at(i).get_scale();
|
||||
param_info.precision_ = params.at(i).get_precision();
|
||||
|
||||
Reference in New Issue
Block a user