| 1054 | return (longlong) rint(Item_func_udf_float::val_real()); |
| 1055 | } |
| 1056 | my_decimal *val_decimal(my_decimal *dec_buf) |
| 1057 | { |
| 1058 | double res=val_real(); |
| 1059 | if (null_value) |
| 1060 | return NULL; |
| 1061 | double2my_decimal(E_DEC_FATAL_ERROR, res, dec_buf); |
| 1062 | return dec_buf; |
| 1063 | } |
| 1064 | double val_real(); |
| 1065 | String *val_str(String *str); |
| 1066 | }; |
nothing calls this directly
no test coverage detected