[patch 421->425->434] [json depth config] json depth config set [100, 1024]

This commit is contained in:
obdev
2024-09-20 07:16:36 +00:00
committed by ob-robot
parent 3c2667cf2e
commit 9929e8cc82
28 changed files with 152 additions and 97 deletions

View File

@ -89,7 +89,8 @@ int ObExprJsonLength::calc(ObEvalCtx &ctx, const ObDatum &data1, ObDatumMeta met
} else if (OB_FAIL(ObTextStringHelper::read_real_string_data(*allocator, data1, meta1, has_lob_header1, j_doc))) {
LOG_WARN("fail to get real data.", K(ret), K(j_doc));
} else if (OB_FAIL(ObJsonBaseFactory::get_json_base(allocator, j_doc, j_in_type,
j_in_type, j_base))) {
j_in_type, j_base, 0,
ObJsonExprHelper::get_json_max_depth_config()))) {
LOG_WARN("fail to get json base", K(ret), K(type1), K(j_doc), K(j_in_type));
}
}