fix bug
This commit is contained in:
parent
bbe9e3a093
commit
57c298b439
|
@ -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);
|
sprintf(tmp, "%d,%d,%d", pDb->cfg.daysToKeep0, pDb->cfg.daysToKeep1, pDb->cfg.daysToKeep2);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
sprintf(tmp, "%d", pDb->cfg.daysToKeep0);
|
sprintf(tmp, "%d", pDb->cfg.daysToKeep2);
|
||||||
#endif
|
#endif
|
||||||
STR_WITH_SIZE_TO_VARSTR(pWrite, tmp, strlen(tmp));
|
STR_WITH_SIZE_TO_VARSTR(pWrite, tmp, strlen(tmp));
|
||||||
cols++;
|
cols++;
|
||||||
|
|
Loading…
Reference in New Issue