bugfix : json_value mismatch func fix & json object wild star fix

This commit is contained in:
obdev
2023-08-02 07:12:21 +00:00
committed by ob-robot
parent 90def6ad4a
commit ef355a7509
3 changed files with 8 additions and 5 deletions

View File

@ -1869,7 +1869,6 @@ int ObRawExprPrinter::print_json_value(ObSysFunRawExpr *expr)
not_first_node = false;
break;
case 1:
case 3:
if (not_first_node) {
DATA_PRINTF(")");
}
@ -1883,6 +1882,8 @@ int ObRawExprPrinter::print_json_value(ObSysFunRawExpr *expr)
DATA_PRINTF(" ignore ");
not_first_node = false;
break;
case 3:
break;
case 4:
if (not_first_node) {
DATA_PRINTF(", ");
@ -1919,7 +1920,7 @@ int ObRawExprPrinter::print_json_value(ObSysFunRawExpr *expr)
LOG_WARN("invalid type value.", K(type));
break;
}
if (OB_SUCC(ret) && type <= 3) {
if (OB_SUCC(ret) && type < 3) {
DATA_PRINTF(" on mismatch ");
}
}