MXS-2035: Add mariabackup support to Galeramon
The mariabackup is now treated the same way as xtrabackup.
This commit is contained in:
@ -281,7 +281,7 @@ 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] && strncmp(row[1], "xtrabackup", 10) == 0)
|
if (row[1] && (strcmp(row[1], "xtrabackup") == 0 || strcmp(row[1], "mariabackup")))
|
||||||
{
|
{
|
||||||
rval = true;
|
rval = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user