mirror of
https://github.com/MariaDB/server.git
synced 2026-04-24 09:15:30 +02:00
merge 5.0-bugteam -> 5.1-bugteam
This commit is contained in:
commit
318c2dd90d
1 changed files with 1 additions and 1 deletions
|
|
@ -876,7 +876,7 @@ static bool get_interval_info(const char *str,uint length,CHARSET_INFO *cs,
|
|||
value= value*LL(10) + (longlong) (*str - '0');
|
||||
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)
|
||||
value*= (long)log_10_int[msec_length];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue