Create an item from a string we KNOW points to a valid longlong. str_arg does not necessary has to be a \\0 terminated string. This is always 'signed'. Unsigned values are created with Item_uint() */
| 1109 | This is always 'signed'. Unsigned values are created with Item_uint() |
| 1110 | */ |
| 1111 | Item_int::Item_int(const char *str_arg, uint length) |
| 1112 | { |
| 1113 | char *end_ptr= (char*) str_arg + length; |
| 1114 | int error; |
| 1115 | value= my_strtoll10(str_arg, &end_ptr, &error); |
| 1116 | max_length= (uint) (end_ptr - str_arg); |
| 1117 | item_name.copy(str_arg, max_length); |
| 1118 | fixed= 1; |
| 1119 | } |
| 1120 | |
| 1121 | |
| 1122 | my_decimal *Item_int::val_decimal(my_decimal *decimal_value) |
nothing calls this directly
no test coverage detected