summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-03-26 11:59:34 +0100
committerSergei Golubchik <sergii@pisem.net>2011-03-26 11:59:34 +0100
commite016a2f5f00774f8126974fa26c7550bf0e60c84 (patch)
tree4db64207e28ec3b6c18d1f2a3fbd69126313a3db /sql/item_timefunc.cc
parentc41b66c07f4c8de57154644aae97d075f4766170 (diff)
downloadmariadb-git-e016a2f5f00774f8126974fa26c7550bf0e60c84.tar.gz
lp:705210 Compiling with BUILD/compile-pentium64-debug fails
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 4f9022cb579..51da306af48 100644
--- a/sql/item_timefunc.cc
+++ b/sql/item_timefunc.cc
@@ -1610,7 +1610,7 @@ void Item_func_sysdate_local::store_now_in_TIME(MYSQL_TIME *now_time)
{
THD *thd= current_thd;
my_hrtime_t now= my_hrtime();
- thd->variables.time_zone->gmt_sec_to_TIME(now_time, hrtime_to_time(now));
+ thd->variables.time_zone->gmt_sec_to_TIME(now_time, hrtime_to_my_time(now));
set_sec_part(hrtime_sec_part(now), now_time, this);
thd->time_zone_used= 1;
}