make compile
This commit is contained in:
parent
ba924223ed
commit
9ae3031898
|
@ -516,6 +516,7 @@ static int32_t dndParseCreateVnodeReq(SRpcMsg *rpcMsg, int32_t *vgId, SVnodeCfg
|
||||||
SCreateVnodeMsg *pCreate = rpcMsg->pCont;
|
SCreateVnodeMsg *pCreate = rpcMsg->pCont;
|
||||||
*vgId = htonl(pCreate->vgId);
|
*vgId = htonl(pCreate->vgId);
|
||||||
|
|
||||||
|
#if 0
|
||||||
tstrncpy(pCfg->db, pCreate->db, TSDB_FULL_DB_NAME_LEN);
|
tstrncpy(pCfg->db, pCreate->db, TSDB_FULL_DB_NAME_LEN);
|
||||||
pCfg->cacheBlockSize = htonl(pCreate->cacheBlockSize);
|
pCfg->cacheBlockSize = htonl(pCreate->cacheBlockSize);
|
||||||
pCfg->totalBlocks = htonl(pCreate->totalBlocks);
|
pCfg->totalBlocks = htonl(pCreate->totalBlocks);
|
||||||
|
@ -538,6 +539,7 @@ static int32_t dndParseCreateVnodeReq(SRpcMsg *rpcMsg, int32_t *vgId, SVnodeCfg
|
||||||
pCfg->replicas[i].port = htons(pCreate->replicas[i].port);
|
pCfg->replicas[i].port = htons(pCreate->replicas[i].port);
|
||||||
tstrncpy(pCfg->replicas[i].fqdn, pCreate->replicas[i].fqdn, TSDB_FQDN_LEN);
|
tstrncpy(pCfg->replicas[i].fqdn, pCreate->replicas[i].fqdn, TSDB_FQDN_LEN);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue