implement expr asin/acos/cot/cos in mysql mode

This commit is contained in:
ls0
2021-07-21 18:01:16 +08:00
committed by wangzelin.wzl
parent 26d446e4f1
commit 889d5cb6d8
11 changed files with 118 additions and 5 deletions

View File

@ -1591,7 +1591,7 @@ int ObExprOperator::calc_trig_function_result_type1(
type.set_precision(ObAccuracy::DDL_DEFAULT_ACCURACY2[ORACLE_MODE][type.get_type()].get_precision());
}
type1.set_calc_type(type.get_type());
ObExprOperator::calc_result_flag1(type, type1);
//no need add not null check for trig/ln/e funciotn in mysql mode
return ret;
}