Fixed replication issues in 'test_unsupported_queries-t' tap test

pull/3540/head^2
Javier Jaramago Fernández 5 years ago
parent 2d670897df
commit 4013b0afdc

@ -283,7 +283,8 @@ void helper_test_load_data_local_infile(
}
// Check that the data has actually been loaded to the database
int myerr = mysql_query(proxysql, "SELECT * FROM test.load_data_local");
// NOTE: Specifically target 'hostgroup=0' to avoid replication lag.
int myerr = mysql_query(proxysql, "SELECT * /*+ ;hostgroup=0 */ FROM test.load_data_local");
if (myerr) {
diag(
"Query 'SELECT * FROM test.load_data_local' for table preparation failed"

Loading…
Cancel
Save