MXS-2035: Add mariabackup support to Galeramon

The mariabackup is now treated the same way as xtrabackup.
This commit is contained in:
Markus Mäkelä 2018-09-13 00:03:08 +03:00
parent a952255c19
commit fa96923983
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

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