[FEAT MERGE]:Oracle Json Supported

This commit is contained in:
obdev
2023-01-28 15:52:29 +08:00
committed by ob-robot
parent 274e68514d
commit bbb017266b
197 changed files with 30520 additions and 2252 deletions

View File

@ -44,6 +44,11 @@ int ObExprEqual::calc_result_type2(ObExprResType &type,
ret = OB_ERR_INVALID_TYPE_FOR_OP;
LOG_USER_ERROR(OB_ERR_INVALID_TYPE_FOR_OP, ob_obj_type_str(type1.get_type()),
ob_obj_type_str(type2.get_type()));
} else if (is_called_in_sql()
&& lib::is_oracle_mode()
&& (type1.is_json() || type2.is_json())) {
ret = OB_ERR_INVALID_CMP_OP;
LOG_USER_ERROR(OB_ERR_INVALID_CMP_OP);
} else {
ret = ObRelationalExprOperator::calc_result_type2(type, type1, type2, type_ctx);
}