[xml bugfix] 1. xmltype empty variable problem under pl 2. xmlelement anti-spelling label case problem

This commit is contained in:
obdev
2023-06-13 09:42:25 +00:00
committed by ob-robot
parent 68af9e5cf9
commit 635b221288
2 changed files with 9 additions and 2 deletions

View File

@ -4539,10 +4539,10 @@ int ObRawExprPrinter::print_xml_element_expr(ObSysFunRawExpr *expr)
if (OB_SUCC(ret) && format_type == 0) {
if (buf_[cur_pos] == '\'') {
buf_[cur_pos] = ' ';
buf_[cur_pos] = '"';
}
if (buf_[new_pos - 1] == '\'') {
buf_[new_pos - 1] = ' ';
buf_[new_pos - 1] = '"';
}
}