diff --git a/src/mnode/src/mnodeDb.c b/src/mnode/src/mnodeDb.c index 9faf08c2ecc16741a005fb911b5d2daba9199f80..fd04f3380de2721bd7baa494cdc3c986e2816ce6 100644 --- a/src/mnode/src/mnodeDb.c +++ b/src/mnode/src/mnodeDb.c @@ -790,7 +790,7 @@ static int32_t mnodeRetrieveDbs(SShowObj *pShow, char *data, int32_t rows, void sprintf(tmp, "%d,%d,%d", pDb->cfg.daysToKeep0, pDb->cfg.daysToKeep1, pDb->cfg.daysToKeep2); } #else - sprintf(tmp, "%d", pDb->cfg.daysToKeep0); + sprintf(tmp, "%d", pDb->cfg.daysToKeep2); #endif STR_WITH_SIZE_TO_VARSTR(pWrite, tmp, strlen(tmp)); cols++;