diff options
author | Evgeny Potemkin <epotemkin@mysql.com> | 2009-12-14 17:17:41 +0300 |
---|---|---|
committer | Evgeny Potemkin <epotemkin@mysql.com> | 2009-12-14 17:17:41 +0300 |
commit | 5606aed1839702cc545f740f27c88a3197920b89 (patch) | |
tree | fed6e3b990ac3beeaf6b7b3f642fd439516729e4 /sql/item_timefunc.cc | |
parent | aceea2342faa7e9a4b8b5cea6d18c0801e6975b6 (diff) | |
download | mariadb-git-5606aed1839702cc545f740f27c88a3197920b89.tar.gz |
Post-merge fix.
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r-- | sql/item_timefunc.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc index e4644aa6436..56c46efb1a8 100644 --- a/sql/item_timefunc.cc +++ b/sql/item_timefunc.cc @@ -876,12 +876,7 @@ static bool get_interval_info(const char *str,uint length,CHARSET_INFO *cs, const char *start= str; for (value=0; str != end && my_isdigit(cs,*str) ; str++) value= value*LL(10) + (longlong) (*str - '0'); - if (transform_msec && i == count - 1) // microseconds always last - { - int msec_length= 6 - (str - start); - if (msec_length > 0) - value*= (long)log_10_int[msec_length]; - } + msec_length= 6 - (str - start); values[i]= value; while (str != end && !my_isdigit(cs,*str)) str++; |