Commit 2ec0d730 authored by unknown's avatar unknown
Browse files

slave.cc:

  5.0 has a different way of knowing if master is < 3.23.57


sql/slave.cc:
  5.0 has a different way of knowing if master is < 3.23.57
parent 90f8fd9b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1421,7 +1421,8 @@ not always make sense; please check the manual before using it).";
    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)
  if (strncmp(mi->rli.relay_log.description_event_for_queue->server_version,
              "3.23.57",7) < 0)
    goto err;
  if (!mysql_real_query(mysql, "SELECT @@GLOBAL.COLLATION_SERVER", 32) &&
      (master_res= mysql_store_result(mysql)))