提交 57c298b4 编写于 作者: D dapan1121

fix bug

上级 bbe9e3a0
...@@ -790,7 +790,7 @@ static int32_t mnodeRetrieveDbs(SShowObj *pShow, char *data, int32_t rows, void ...@@ -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++;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册