Fix peculiar wrapping

This commit is contained in:
Johan Wikman
2018-10-31 16:02:48 +02:00
parent 0b23ee78e5
commit f34ca0d473

View File

@ -281,11 +281,9 @@ static bool using_xtrabackup(MXS_MONITORED_SERVER *database, const char* server_
while ((row = mysql_fetch_row(result))) while ((row = mysql_fetch_row(result)))
{ {
if (row[1] && (strcmp(row[1], "xtrabackup") == 0 || strcmp(row[1], "mariabackup") == 0)) if (row[1] && (strcmp(row[1], "xtrabackup") == 0 ||
{ strcmp(row[1], "xtrabackup-v2") == 0 ||
rval = true; strcmp(row[1], "mariabackup") == 0))
}
else if (row[1] && (strcmp(row[1], "xtrabackup-v2") == 0))
{ {
rval = true; rval = true;
} }