summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.cc
diff options
context:
space:
mode:
authorAlexander Barkov <alexander.barkov@oracle.com>2012-01-24 13:24:05 +0400
committerAlexander Barkov <alexander.barkov@oracle.com>2012-01-24 13:24:05 +0400
commitb68dca488ac38bb8fcd88c5b8ae98fea9277f05e (patch)
treee55f68f1430f8241de85d3bf1049c1cabdd62ce0 /sql/item_timefunc.cc
parent323bfed31f5383ddea3acbf5d721ccf3eb38f830 (diff)
parent1f776e9f24029d1620fa6b67a7f9945cb504ae8f (diff)
downloadmariadb-git-b68dca488ac38bb8fcd88c5b8ae98fea9277f05e.tar.gz
Merging BUG#13458237 from 5.1.
Diffstat (limited to 'sql/item_timefunc.cc')
-rw-r--r--sql/item_timefunc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_timefunc.cc b/sql/item_timefunc.cc
index 6519146d040..97ba38aa5be 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -2747,7 +2747,7 @@ String *Item_time_typecast::val_str(String *str)
bool Item_date_typecast::get_date(MYSQL_TIME *ltime, uint fuzzy_date)
{
- bool res= get_arg0_date(ltime, fuzzy_date);
+ bool res= get_arg0_date(ltime, TIME_FUZZY_DATE);
ltime->hour= ltime->minute= ltime->second= ltime->second_part= 0;
ltime->time_type= MYSQL_TIMESTAMP_DATE;
return res;