summaryrefslogtreecommitdiff
path: root/sql/time.cc
diff options
context:
space:
mode:
authormonty@work.mysql.com <>2001-06-21 11:03:54 +0200
committermonty@work.mysql.com <>2001-06-21 11:03:54 +0200
commit7f681996486de1085b41221ed5248b12d5e7355c (patch)
treed2250b6064dd50f4270103879fdb86f3874d09c5 /sql/time.cc
parent6a8fce391429dea0e5239a4f84027808d8b3e100 (diff)
parent11e567229ac41541908f976b130ff792bd6754d6 (diff)
downloadmariadb-git-7f681996486de1085b41221ed5248b12d5e7355c.tar.gz
merge
Diffstat (limited to 'sql/time.cc')
-rw-r--r--sql/time.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/time.cc b/sql/time.cc
index 086977af72f..e0b74fc9d25 100644
--- a/sql/time.cc
+++ b/sql/time.cc
@@ -455,8 +455,8 @@ str_to_TIME(const char *str, uint length, TIME *l_time,bool fuzzy_date)
if ((date[i]=tmp_value))
date_used=1; // Found something
if (i == 2 && str != end && *str == 'T')
- str++; // ISO8601: CCYYMMDDThhmmss
- else
+ str++; // ISO8601: CCYYMMDDThhmmss
+ else if ( i != 5 ) // Skip inter-field delimiters
{
while (str != end && (ispunct(*str) || isspace(*str)))
{