Fix template generation

The templates weren't generated for Galera nodes.
This commit is contained in:
Markus Mäkelä 2017-12-19 09:33:10 +02:00
parent a5d2dc5ac7
commit 58373b3495

View File

@ -645,12 +645,7 @@ void TestConnections::process_template(const char *template_name, const char *de
mdn[0] = repl;
mdn[1] = galera;
int i, j;
int mdn_n = 1;
if (galera == NULL)
{
mdn_n =1;
}
int mdn_n = galera ? 2 : 1;
for (j = 0; j < mdn_n; j++)
{