diff options
author | guilhem@mysql.com <> | 2005-01-18 14:07:47 +0100 |
---|---|---|
committer | guilhem@mysql.com <> | 2005-01-18 14:07:47 +0100 |
commit | b08170f18c123af021d0c16a376bbbc9088738de (patch) | |
tree | 91d63bc228105f06800fb8e786f5b0be506e875b | |
parent | 69bfcfe33ae8221804c9b3a1d2d5fdb9c7140752 (diff) | |
parent | 9569b0226f1a9029192cd9c0b82d4076bd645ac7 (diff) | |
download | mariadb-git-b08170f18c123af021d0c16a376bbbc9088738de.tar.gz |
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/mysql_src/mysql-4.1-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 ef9caa5f5b5..d85c44c915e 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -1243,7 +1243,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))) { @@ -1280,6 +1284,7 @@ be equal for replication to work"; mysql_free_result(master_res); } +err: if (errmsg) { sql_print_error(errmsg); |