Commit 318c2dd9 authored by Georgi Kodinov's avatar Georgi Kodinov

merge 5.0-bugteam -> 5.1-bugteam

parents fe229e33 05ff7b65
...@@ -876,7 +876,7 @@ static bool get_interval_info(const char *str,uint length,CHARSET_INFO *cs, ...@@ -876,7 +876,7 @@ static bool get_interval_info(const char *str,uint length,CHARSET_INFO *cs,
value= value*LL(10) + (longlong) (*str - '0'); value= value*LL(10) + (longlong) (*str - '0');
if (transform_msec && i == count - 1) // microseconds always last if (transform_msec && i == count - 1) // microseconds always last
{ {
int msec_length= 6 - (int)(str - start); int msec_length= 6 - (int) (str - start);
if (msec_length > 0) if (msec_length > 0)
value*= (long)log_10_int[msec_length]; value*= (long)log_10_int[msec_length];
} }
......
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