Commit 6bd63eb9 authored by unknown's avatar unknown

Fix for valgrind errors in str_to_TIME(using of uninitialize variable).

parent 0de92f82
......@@ -557,7 +557,10 @@ str_to_TIME(const char *str, uint length, TIME *l_time, uint flags)
number_of_fields= i - start_loop;
while (i < MAX_DATE_PARTS)
date[i++]=0;
{
date_len[i]= 0;
date[i++]= 0;
}
if (!is_internal_format)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment