提交 80a4c22e 编写于 作者: S Shengliang Guan

compile error

上级 8a0ab261
...@@ -36,7 +36,7 @@ static int32_t mndProcessDropQnodeRsp(SMndMsg *pRsp); ...@@ -36,7 +36,7 @@ static int32_t mndProcessDropQnodeRsp(SMndMsg *pRsp);
static int32_t mndGetQnodeMeta(SMndMsg *pReq, SShowObj *pShow, STableMetaRsp *pMeta); static int32_t mndGetQnodeMeta(SMndMsg *pReq, SShowObj *pShow, STableMetaRsp *pMeta);
static int32_t mndRetrieveQnodes(SMndMsg *pReq, SShowObj *pShow, char *data, int32_t rows); static int32_t mndRetrieveQnodes(SMndMsg *pReq, SShowObj *pShow, char *data, int32_t rows);
static void mndCancelGetNextQnode(SMnode *pMnode, void *pIter); static void mndCancelGetNextQnode(SMnode *pMnode, void *pIter);
static int32_t mndProcessQnodeListReq(SMnodeMsg *pReq); static int32_t mndProcessQnodeListReq(SMndMsg *pReq);
int32_t mndInitQnode(SMnode *pMnode) { int32_t mndInitQnode(SMnode *pMnode) {
SSdbTable table = {.sdbType = SDB_QNODE, SSdbTable table = {.sdbType = SDB_QNODE,
...@@ -432,7 +432,7 @@ DROP_QNODE_OVER: ...@@ -432,7 +432,7 @@ DROP_QNODE_OVER:
return code; return code;
} }
static int32_t mndProcessQnodeListReq(SMnodeMsg *pReq) { static int32_t mndProcessQnodeListReq(SMndMsg *pReq) {
int32_t code = -1; int32_t code = -1;
SQnodeListReq qlistReq = {0}; SQnodeListReq qlistReq = {0};
int32_t numOfRows = 0; int32_t numOfRows = 0;
......
...@@ -25,7 +25,7 @@ static void mndReleaseShowObj(SShowObj *pShow, bool forceRemove); ...@@ -25,7 +25,7 @@ static void mndReleaseShowObj(SShowObj *pShow, bool forceRemove);
static int32_t mndProcessShowReq(SMndMsg *pReq); static int32_t mndProcessShowReq(SMndMsg *pReq);
static int32_t mndProcessRetrieveReq(SMndMsg *pReq); static int32_t mndProcessRetrieveReq(SMndMsg *pReq);
static bool mndCheckRetrieveFinished(SShowObj *pShow); static bool mndCheckRetrieveFinished(SShowObj *pShow);
static int32_t mndProcessRetrieveSysTableReq(SMnodeMsg *pReq); static int32_t mndProcessRetrieveSysTableReq(SMndMsg *pReq);
int32_t mndInitShow(SMnode *pMnode) { int32_t mndInitShow(SMnode *pMnode) {
SShowMgmt *pMgmt = &pMnode->showMgmt; SShowMgmt *pMgmt = &pMnode->showMgmt;
...@@ -263,7 +263,7 @@ static int32_t mndProcessRetrieveReq(SMndMsg *pReq) { ...@@ -263,7 +263,7 @@ static int32_t mndProcessRetrieveReq(SMndMsg *pReq) {
return TSDB_CODE_SUCCESS; return TSDB_CODE_SUCCESS;
} }
static int32_t mndProcessRetrieveSysTableReq(SMnodeMsg *pReq) { static int32_t mndProcessRetrieveSysTableReq(SMndMsg *pReq) {
SMnode *pMnode = pReq->pMnode; SMnode *pMnode = pReq->pMnode;
SShowMgmt *pMgmt = &pMnode->showMgmt; SShowMgmt *pMgmt = &pMnode->showMgmt;
int32_t rowsToRead = 0; int32_t rowsToRead = 0;
......
...@@ -374,7 +374,7 @@ SProcObj *taosProcInit(const SProcCfg *pCfg) { ...@@ -374,7 +374,7 @@ SProcObj *taosProcInit(const SProcCfg *pCfg) {
if (!pProc->testFlag) { if (!pProc->testFlag) {
pProc->pid = fork(); pProc->pid = fork();
if (pProc->pid == 0) { if (pProc->pid == 0) {
tsLogInited = 0; // tsLogInited = 0;
taosInitLog("mnodelog", 1); taosInitLog("mnodelog", 1);
pProc->isChild = 1; pProc->isChild = 1;
uInfo("this is child process, pid:%d", pProc->pid); uInfo("this is child process, pid:%d", pProc->pid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册