bugfix: 1. xml_expr: generated_column_expr; 2. extract, extract_value, update_xml: xpath or ns arg not literal

This commit is contained in:
wu-xingying
2023-06-09 08:42:18 +00:00
committed by ob-robot
parent bde662ca8d
commit 64b032db76
4 changed files with 6 additions and 17 deletions

View File

@ -62,9 +62,6 @@ int ObExprUpdateXml::calc_result_typeN(ObExprResType &type,
if (types[i].get_charset_type() != CHARSET_UTF8MB4) {
types[i].set_calc_collation_type(CS_TYPE_UTF8MB4_BIN);
}
} else {
types[i].set_calc_type(ObVarcharType);
types[i].set_calc_collation_type(CS_TYPE_UTF8MB4_BIN);
}
} else {
// value expr
@ -86,9 +83,6 @@ int ObExprUpdateXml::calc_result_typeN(ObExprResType &type,
if (types[param_num - 1].get_charset_type() != CHARSET_UTF8MB4) {
types[param_num - 1].set_calc_collation_type(CS_TYPE_UTF8MB4_BIN);
}
} else {
types[param_num - 1].set_calc_type(ObVarcharType);
types[param_num - 1].set_calc_collation_type(CS_TYPE_UTF8MB4_BIN);
}
}
}