summaryrefslogtreecommitdiff
path: root/mysys/mf_getdate.c
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-08-23 11:25:24 -0700
committerjimw@mysql.com <>2005-08-23 11:25:24 -0700
commitcf5dd176c0d83938a5fdc13cc7a4a5d049158a2e (patch)
tree8f25e99f65e13c5974f8f6c711c8e7e6a78520a7 /mysys/mf_getdate.c
parent8888e9172d724850195a7eb6597b658a54f98042 (diff)
downloadmariadb-git-cf5dd176c0d83938a5fdc13cc7a4a5d049158a2e.tar.gz
Fix build using --without-server. (Bug #11680)
Diffstat (limited to 'mysys/mf_getdate.c')
-rw-r--r--mysys/mf_getdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_getdate.c b/mysys/mf_getdate.c
index b12e68cc1f9..8998da8aefa 100644
--- a/mysys/mf_getdate.c
+++ b/mysys/mf_getdate.c
@@ -54,7 +54,7 @@ void get_date(register my_string to, int flag, time_t date)
if (flag & GETDATE_GMT)
start_time= localtime(&skr);
else
- gmtime(&skr,&tm_tmp);
+ start_time= gmtime(&skr);
#endif
if (flag & GETDATE_SHORT_DATE)
sprintf(to,"%02d%02d%02d",