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

@ -145,7 +145,7 @@ T ObExprUtil::trunc_integer(T val, int64_t dec)
} else if (ObDoubleType == expr.args_[0]->datum_meta_.type_) { \
const double arg = radian->get_double(); \
if (INVALID_DOUBLE_ARG_CHECK) { \
ret = INVALID_DOUBLE_ARG_ERRNO; \
res_datum.set_null(); \
} else { \
res_datum.set_double(tritype(arg)); \
} \