fix:43242401,48624339

This commit is contained in:
obdev
2023-03-30 14:11:04 +00:00
committed by ob-robot
parent a3da414a88
commit 8f9f37a56f
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ int ObExprJsonQuery::calc_result_typeN(ObExprResType& type,
// ASCII clause
if (OB_SUCC(ret)) {
if (OB_FAIL(ObJsonExprHelper::parse_asc_option(types_stack[4], types_stack[0], type, type_ctx))) {
if (OB_FAIL(ObJsonExprHelper::parse_asc_option(types_stack[5], types_stack[0], type, type_ctx))) {
LOG_WARN("fail to parse asc option.", K(ret));
}
}

View File

@ -5054,7 +5054,7 @@ int ObRawExprResolverImpl::process_ora_json_object_node(const ParseNode *node, O
ObVector<const ParseNode*> key_value_arr;
ParseNode* data_node = NULL;
ParseNode* cur_node_kv = NULL;
int cur_col_size = 0;
int cur_col_size = ctx_.columns_->count();
ParseNode key_node;
CK(OB_NOT_NULL(node));
int32_t num = 0;