chore: remove macro for grant notify
This commit is contained in:
parent
08e5d2fab7
commit
f180a6e6f3
|
@ -298,9 +298,7 @@ static void dmProcessMgmtQueue(SQueueInfo *pInfo, SRpcMsg *pMsg) {
|
||||||
code = dmProcessGrantReq(&pMgmt->pData->clusterId, pMsg);
|
code = dmProcessGrantReq(&pMgmt->pData->clusterId, pMsg);
|
||||||
break;
|
break;
|
||||||
case TDMT_MND_GRANT_NOTIFY:
|
case TDMT_MND_GRANT_NOTIFY:
|
||||||
#ifdef TD_GRANT_OPTIMIZE
|
|
||||||
code = dmProcessGrantNotify(NULL, pMsg);
|
code = dmProcessGrantNotify(NULL, pMsg);
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
terrno = TSDB_CODE_MSG_NOT_PROCESSED;
|
terrno = TSDB_CODE_MSG_NOT_PROCESSED;
|
||||||
|
|
Loading…
Reference in New Issue