From fa969239832d67550caa322c67f2c8d2fb8357b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Thu, 13 Sep 2018 00:03:08 +0300 Subject: [PATCH] MXS-2035: Add mariabackup support to Galeramon The mariabackup is now treated the same way as xtrabackup. --- server/modules/monitor/galeramon/galeramon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/monitor/galeramon/galeramon.c b/server/modules/monitor/galeramon/galeramon.c index 2b72646f6..532ef5709 100644 --- a/server/modules/monitor/galeramon/galeramon.c +++ b/server/modules/monitor/galeramon/galeramon.c @@ -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; }