| 201 | |
| 202 | |
| 203 | longlong Item::val_int_from_decimal() |
| 204 | { |
| 205 | /* Note that fix_fields may not be called for Item_avg_field items */ |
| 206 | longlong result; |
| 207 | my_decimal value, *dec_val= val_decimal(&value); |
| 208 | if (null_value) |
| 209 | return 0; |
| 210 | my_decimal2int(E_DEC_FATAL_ERROR, dec_val, unsigned_flag, &result); |
| 211 | return result; |
| 212 | } |
| 213 | |
| 214 | Item::Item(): |
| 215 | is_expensive_cache(-1), rsize(0), |
nothing calls this directly
no test coverage detected