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 4451355e47
commit 628203213e

View File

@ -555,12 +555,7 @@ void TestConnections::process_template(int m, const char *template_name, const c
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++)
{