| 112 | double val_real() |
| 113 | { DBUG_ASSERT(fixed == 1); return (double) Item_func_month::val_int(); } |
| 114 | String *val_str(String *str) |
| 115 | { |
| 116 | longlong nr= val_int(); |
| 117 | if (null_value) |
| 118 | return 0; |
| 119 | str->set(nr, collation.collation); |
| 120 | return str; |
| 121 | } |
| 122 | const char *func_name() const { return "month"; } |
| 123 | enum Item_result result_type () const { return INT_RESULT; } |
| 124 |