Commit e6675a24 authored by Alexander Nozdrin's avatar Alexander Nozdrin

Auto-merge from mysql-5.1.

parents d097b407 2e906736
[MYSQL] [MYSQL]
post_commit_to = "commits@lists.mysql.com" post_commit_to = "commits@lists.mysql.com"
post_push_to = "commits@lists.mysql.com" post_push_to = "commits@lists.mysql.com"
tree_name = "mysql-trunk-bugfixing" tree_name = "mysql-trunk"
...@@ -71,7 +71,6 @@ sub main ...@@ -71,7 +71,6 @@ sub main
print "WARNING: --config-file is deprecated and will be removed\n"; print "WARNING: --config-file is deprecated and will be removed\n";
print "in MySQL 5.6. Please use --defaults-extra-file instead\n"; print "in MySQL 5.6. Please use --defaults-extra-file instead\n";
} }
}
} }
foreach (@defaults_options) foreach (@defaults_options)
......
...@@ -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