Below is the list of changes that have just been committed into a local
5.1 repository of df. When df does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2008-04-01 11:03:12+02:00, df@stripped +1 -0
Portability fix
sql/set_var.cc@stripped, 2008-04-01 11:03:06+02:00, df@stripped +1 -1
Unbreak REPORT_PORT on big endian machines where sizeof long != sizeof int.
diff -Nrup a/sql/set_var.cc b/sql/set_var.cc
--- a/sql/set_var.cc 2008-03-31 09:40:36 +02:00
+++ b/sql/set_var.cc 2008-04-01 11:03:06 +02:00
@@ -713,7 +713,7 @@ static uchar *slave_get_report_port(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