Convert DATE value to String. @param format Format (unused, see comments above) @param l_time DATE value @param OUT str String to conver to */
| 1045 | @param OUT str String to conver to |
| 1046 | */ |
| 1047 | void make_date(const DATE_TIME_FORMAT *format __attribute__((unused)), |
| 1048 | const MYSQL_TIME *l_time, String *str) |
| 1049 | { |
| 1050 | uint length= (uint) my_date_to_str(l_time, (char*) str->ptr()); |
| 1051 | str->length(length); |
| 1052 | str->set_charset(&my_charset_numeric); |
| 1053 | } |
| 1054 | |
| 1055 | |
| 1056 | /** |
nothing calls this directly
no test coverage detected