summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorunknown <monty@work.mysql.com>2001-09-06 01:23:01 +0200
committerunknown <monty@work.mysql.com>2001-09-06 01:23:01 +0200
commit07a887b3836904c19a7dcc74ac1b73e82dbed7ec (patch)
treeda0703f784fe354662face98d9ace2a17f852202 /sql/log_event.cc
parentfec70ce417c4574c3d269337820fe67ae3ff510b (diff)
downloadmariadb-git-07a887b3836904c19a7dcc74ac1b73e82dbed7ec.tar.gz
Portability fixes
libmysql/libmysql.c: Remove duplicated define sql/log_event.cc: Portability fix
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index 869167bba2f..521e0f7765f 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -278,7 +278,7 @@ void Log_event::print_timestamp(FILE* file, time_t* ts)
ts = &when;
}
#ifdef MYSQL_SERVER
- res=localtime_r(ts,&tm_tmp);
+ localtime_r(ts,(res= &tm_tmp));
#else
res=localtime(ts);
#endif