portability fix

parent 163c7bf1
...@@ -84,7 +84,7 @@ class Log_event ...@@ -84,7 +84,7 @@ class Log_event
when(when_arg), exec_time(exec_time_arg), when(when_arg), exec_time(exec_time_arg),
valid_exec_time(valid_exec_time_arg) valid_exec_time(valid_exec_time_arg)
{ {
server_id = server_id_arg ? server_id_arg : server_id = ::server_id; server_id = server_id_arg ? server_id_arg : (::server_id);
} }
Log_event(const char* buf): valid_exec_time(0) Log_event(const char* buf): valid_exec_time(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment