mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Portability fix
sql/set_var.cc: Unbreak REPORT_PORT on big endian machines where sizeof long != sizeof int.
This commit is contained in:
parent
f306959153
commit
24ff5760e0
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue