| 189 | } |
| 190 | |
| 191 | double Item::val_real_from_decimal() |
| 192 | { |
| 193 | /* Note that fix_fields may not be called for Item_avg_field items */ |
| 194 | double result; |
| 195 | my_decimal value_buff, *dec_val= val_decimal(&value_buff); |
| 196 | if (null_value) |
| 197 | return 0.0; |
| 198 | my_decimal2double(E_DEC_FATAL_ERROR, dec_val, &result); |
| 199 | return result; |
| 200 | } |
| 201 | |
| 202 | |
| 203 | longlong Item::val_int_from_decimal() |
nothing calls this directly
no test coverage detected