add comment

This commit is contained in:
Timofey Turenko
2020-12-21 11:50:45 +02:00
parent 22a112e137
commit 5ef953fb4a
5 changed files with 14 additions and 2 deletions

View File

@ -664,6 +664,7 @@ void TestConnections::read_env()
"revert_snapshot_command", "mdbci snapshot revert --path-to-nodes %s --snapshot-name ",
m_mdbci_config_name.c_str());
no_vm_revert = readenv_bool("no_vm_revert", true);
maxscale_product = readenv("maxscale_product", "maxscale_ci");
}
void TestConnections::print_env()
@ -808,6 +809,9 @@ void TestConnections::process_template(int m, const string& cnf_template_path, c
sprintf(str, "sed -i \"s|###access_homedir###|%s|g\" maxscale.cnf", maxscales->access_homedir[m]);
system(str);
sprintf(str, "sed -i \"s|###maxscale_product###|%s|g\" maxscale.cnf", maxscale_product);
system(str);
if (repl && repl->v51)
{
system("sed -i \"s/###repl51###/mysql51_replication=true/g\" maxscale.cnf");