Fix GTID setup in tests

The GTID setup in tests executed code that was not supposed to be executed
when GTID is in use.
This commit is contained in:
Markus Mäkelä
2017-10-05 11:09:09 +03:00
parent d391db6c2a
commit bbd5fe8288

View File

@ -1058,7 +1058,6 @@ int TestConnections::start_binlog()
fflush(stdout); fflush(stdout);
tprintf("Maxscale binlog master pos : %s\n", log_pos); tprintf("Maxscale binlog master pos : %s\n", log_pos);
fflush(stdout); fflush(stdout);
}
tprintf("Setup all backend nodes except first one to be slaves of binlog Maxscale node\n"); tprintf("Setup all backend nodes except first one to be slaves of binlog Maxscale node\n");
fflush(stdout); fflush(stdout);
@ -1067,6 +1066,7 @@ int TestConnections::start_binlog()
try_query(repl->nodes[i], "stop slave;"); try_query(repl->nodes[i], "stop slave;");
repl->set_slave(repl->nodes[i], maxscale_IP, binlog_port, log_file, log_pos); repl->set_slave(repl->nodes[i], maxscale_IP, binlog_port, log_file, log_pos);
} }
}
repl->close_connections(); repl->close_connections();
try_query(binlog, "show slave status"); try_query(binlog, "show slave status");