fix: create table with select xmlexprs, disable returning object type, disable some xml expr called in pl semantics
This commit is contained in:
@ -43,6 +43,10 @@ int ObExprExtractXml::calc_result_typeN(ObExprResType &type,
|
||||
if (OB_UNLIKELY(param_num != 3)) {
|
||||
ret = OB_ERR_PARAM_SIZE;
|
||||
LOG_WARN("invalid argument number", K(ret), K(param_num));
|
||||
} else if (!is_called_in_sql()) {
|
||||
ret = OB_ERR_SP_LILABEL_MISMATCH;
|
||||
LOG_WARN("expr call in pl semantics disallowed", K(ret), K(N_EXTRACT_XML));
|
||||
LOG_USER_ERROR(OB_ERR_SP_LILABEL_MISMATCH, static_cast<int>(strlen(N_EXTRACT_XML)), N_EXTRACT_XML);
|
||||
} else {
|
||||
ObObjType in_type = types[0].get_type();
|
||||
if (types[0].is_ext() && types[0].get_udt_id() == T_OBJ_XML) {
|
||||
|
||||
Reference in New Issue
Block a user