diff options
Diffstat (limited to 'sql/time.cc')
-rw-r--r-- | sql/time.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/time.cc b/sql/time.cc index 056adf050ce..70ae8dcd8ed 100644 --- a/sql/time.cc +++ b/sql/time.cc @@ -432,6 +432,7 @@ str_to_TIME(const char *str, uint length, TIME *l_time,bool fuzzy_date) l_time->minute=date[4]; l_time->second=date[5]; l_time->second_part=date[6]; + l_time->neg= 0; DBUG_RETURN(l_time->time_type= (number_of_fields <= 3 ? TIMESTAMP_DATE : TIMESTAMP_FULL)); } |