Convert DATETIME value to String. @param format Format (unused, see comments above) @param l_time DATE value @param OUT str String to conver to @param dec Number of fractional digits. */
| 1061 | @param dec Number of fractional digits. |
| 1062 | */ |
| 1063 | void make_datetime(const DATE_TIME_FORMAT *format __attribute__((unused)), |
| 1064 | const MYSQL_TIME *l_time, String *str, uint dec) |
| 1065 | { |
| 1066 | uint length= (uint) my_datetime_to_str(l_time, (char*) str->ptr(), dec); |
| 1067 | str->length(length); |
| 1068 | str->set_charset(&my_charset_numeric); |
| 1069 | } |
| 1070 | |
| 1071 | |
| 1072 | /** |
nothing calls this directly
no test coverage detected