Commit 2ad1d0a6 authored by unknown's avatar unknown

Portability fix


sql/set_var.cc:
  Unbreak REPORT_PORT on big endian machines where sizeof long != sizeof int.
parent 75485b9c
......@@ -713,7 +713,7 @@ static uchar *slave_get_report_port(THD *thd)
return (uchar*) &thd->sys_var_tmp.long_value;
}
static sys_var_readonly sys_repl_report_port(&vars, "report_port", OPT_GLOBAL, SHOW_INT, slave_get_report_port);
static sys_var_readonly sys_repl_report_port(&vars, "report_port", OPT_GLOBAL, SHOW_LONG, slave_get_report_port);
#endif
......
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