compile error
This commit is contained in:
parent
8a0ab2615e
commit
80a4c22e18
|
@ -36,7 +36,7 @@ static int32_t mndProcessDropQnodeRsp(SMndMsg *pRsp);
|
|||
static int32_t mndGetQnodeMeta(SMndMsg *pReq, SShowObj *pShow, STableMetaRsp *pMeta);
|
||||
static int32_t mndRetrieveQnodes(SMndMsg *pReq, SShowObj *pShow, char *data, int32_t rows);
|
||||
static void mndCancelGetNextQnode(SMnode *pMnode, void *pIter);
|
||||
static int32_t mndProcessQnodeListReq(SMnodeMsg *pReq);
|
||||
static int32_t mndProcessQnodeListReq(SMndMsg *pReq);
|
||||
|
||||
int32_t mndInitQnode(SMnode *pMnode) {
|
||||
SSdbTable table = {.sdbType = SDB_QNODE,
|
||||
|
@ -432,7 +432,7 @@ DROP_QNODE_OVER:
|
|||
return code;
|
||||
}
|
||||
|
||||
static int32_t mndProcessQnodeListReq(SMnodeMsg *pReq) {
|
||||
static int32_t mndProcessQnodeListReq(SMndMsg *pReq) {
|
||||
int32_t code = -1;
|
||||
SQnodeListReq qlistReq = {0};
|
||||
int32_t numOfRows = 0;
|
||||
|
|
|
@ -25,7 +25,7 @@ static void mndReleaseShowObj(SShowObj *pShow, bool forceRemove);
|
|||
static int32_t mndProcessShowReq(SMndMsg *pReq);
|
||||
static int32_t mndProcessRetrieveReq(SMndMsg *pReq);
|
||||
static bool mndCheckRetrieveFinished(SShowObj *pShow);
|
||||
static int32_t mndProcessRetrieveSysTableReq(SMnodeMsg *pReq);
|
||||
static int32_t mndProcessRetrieveSysTableReq(SMndMsg *pReq);
|
||||
|
||||
int32_t mndInitShow(SMnode *pMnode) {
|
||||
SShowMgmt *pMgmt = &pMnode->showMgmt;
|
||||
|
@ -263,7 +263,7 @@ static int32_t mndProcessRetrieveReq(SMndMsg *pReq) {
|
|||
return TSDB_CODE_SUCCESS;
|
||||
}
|
||||
|
||||
static int32_t mndProcessRetrieveSysTableReq(SMnodeMsg *pReq) {
|
||||
static int32_t mndProcessRetrieveSysTableReq(SMndMsg *pReq) {
|
||||
SMnode *pMnode = pReq->pMnode;
|
||||
SShowMgmt *pMgmt = &pMnode->showMgmt;
|
||||
int32_t rowsToRead = 0;
|
||||
|
|
|
@ -374,7 +374,7 @@ SProcObj *taosProcInit(const SProcCfg *pCfg) {
|
|||
if (!pProc->testFlag) {
|
||||
pProc->pid = fork();
|
||||
if (pProc->pid == 0) {
|
||||
tsLogInited = 0;
|
||||
// tsLogInited = 0;
|
||||
taosInitLog("mnodelog", 1);
|
||||
pProc->isChild = 1;
|
||||
uInfo("this is child process, pid:%d", pProc->pid);
|
||||
|
|
Loading…
Reference in New Issue