1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

slave.cc:

5.0 has a different way of knowing if master is < 3.23.57
This commit is contained in:
guilhem@mysql.com
2005-01-18 14:46:26 +01:00
parent 4aebc4b3fc
commit 78b7ec0258

View File

@@ -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)))