fix:[TD-31017]process return value in mnd for tmq
This commit is contained in:
parent
535755266d
commit
04f51842e4
|
@ -100,7 +100,6 @@ END:
|
||||||
|
|
||||||
static int32_t mndBuildSubChangeReq(void **pBuf, int32_t *pLen, SMqSubscribeObj *pSub, const SMqRebOutputVg *pRebVg,
|
static int32_t mndBuildSubChangeReq(void **pBuf, int32_t *pLen, SMqSubscribeObj *pSub, const SMqRebOutputVg *pRebVg,
|
||||||
SSubplan *pPlan) {
|
SSubplan *pPlan) {
|
||||||
int32_t code = 0;
|
|
||||||
SMqRebVgReq req = {0};
|
SMqRebVgReq req = {0};
|
||||||
int32_t code = 0;
|
int32_t code = 0;
|
||||||
SEncoder encoder = {0};
|
SEncoder encoder = {0};
|
||||||
|
@ -862,7 +861,6 @@ END:
|
||||||
}
|
}
|
||||||
|
|
||||||
static int32_t buildRebOutput(SMnode *pMnode, SMqRebInputObj *rebInput, SMqRebOutputObj *rebOutput) {
|
static int32_t buildRebOutput(SMnode *pMnode, SMqRebInputObj *rebInput, SMqRebOutputObj *rebOutput) {
|
||||||
int32_t code = 0;
|
|
||||||
const char *key = rebInput->pRebInfo->key;
|
const char *key = rebInput->pRebInfo->key;
|
||||||
SMqSubscribeObj *pSub = NULL;
|
SMqSubscribeObj *pSub = NULL;
|
||||||
int32_t code = mndAcquireSubscribeByKey(pMnode, key, &pSub);
|
int32_t code = mndAcquireSubscribeByKey(pMnode, key, &pSub);
|
||||||
|
|
Loading…
Reference in New Issue