[xml bugfix] irregular xlst in xml transform bugfix 49538940; xmlserialize in pl indent bugfix 49543617;

This commit is contained in:
obdev
2023-05-10 09:03:45 +00:00
committed by ob-robot
parent 4a5f184671
commit 01e566ca07

View File

@ -4399,10 +4399,10 @@ int ObRawExprPrinter::print_xml_serialize_expr(ObSysFunRawExpr *expr)
if (OB_SUCC(ret)) {
ObExprOperatorType expr_type_1 = expr->get_param_expr(7)->get_expr_type();
ObExprOperatorType expr_type_2 = expr->get_param_expr(8)->get_expr_type();
int64_t indent_type = static_cast<ObConstRawExpr*>(expr->get_param_expr(5))->get_value().get_int();
int64_t value = static_cast<ObConstRawExpr*>(expr->get_param_expr(6))->get_value().get_int();
int64_t indent_type = static_cast<ObConstRawExpr*>(expr->get_param_expr(7))->get_value().get_int();
int64_t value = static_cast<ObConstRawExpr*>(expr->get_param_expr(8))->get_value().get_int();
if (expr_type_1 == T_INT && expr_type_2 == T_INT) {
if (indent_type == 0) {
if (indent_type == 4) {
} else if (indent_type == 1) {
DATA_PRINTF(" no indent ");
} else if (indent_type == 2) {