diff options
author | unknown <guilhem@mysql.com> | 2005-01-18 14:46:25 +0100 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2005-01-18 14:46:25 +0100 |
commit | 90f8fd9b5f4c627198d0485d827a899f5bdb6c7e (patch) | |
tree | eabe4a193ea515e36aa73cfb028efebdde6a4a83 | |
parent | 3842b1df35ea8f22eead1c050088c810e48ffa3b (diff) | |
parent | f531321491d10ffbc82b59fd36de1b973b5cbe76 (diff) | |
download | mariadb-git-90f8fd9b5f4c627198d0485d827a899f5bdb6c7e.tar.gz |
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/mysql_src/mysql-5.0-clean
-rw-r--r-- | sql/slave.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 0bcc1b7e852..36c99c6c21c 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -1418,7 +1418,11 @@ not always make sense; please check the manual before using it)."; values of these 2 are never used (new connections don't use them). We don't test equality of global collation_database either as it's is going to be deprecated (made read-only) in 4.1 very soon. + We don't do it for <3.23.57 because masters <3.23.50 hang on + SELECT @@unknown_var (BUG#7965 - see changelog of 3.23.50). */ + if (mi->old_format == BINLOG_FORMAT_323_LESS_57) + goto err; if (!mysql_real_query(mysql, "SELECT @@GLOBAL.COLLATION_SERVER", 32) && (master_res= mysql_store_result(mysql))) { @@ -1455,6 +1459,7 @@ be equal for replication to work"; mysql_free_result(master_res); } +err: if (errmsg) { sql_print_error(errmsg); |