other: revert the definition
This commit is contained in:
parent
66f3ed9020
commit
5c76b49391
|
@ -25,8 +25,7 @@
|
|||
int32_t mndInitGrant(SMnode *pMnode);
|
||||
void mndCleanupGrant();
|
||||
void grantParseParameter();
|
||||
void grantReset(EGrantType grant, uint64_t value);
|
||||
void grantResetNew(SMnode *pMnode, EGrantType grant, uint64_t value);
|
||||
void grantReset(SMnode *pMnode, EGrantType grant, uint64_t value);
|
||||
void grantAdd(EGrantType grant, uint64_t value);
|
||||
void grantRestore(EGrantType grant, uint64_t value);
|
||||
|
||||
|
|
|
@ -129,8 +129,7 @@ int32_t mndInitGrant(SMnode *pMnode) {
|
|||
void mndCleanupGrant() {}
|
||||
void grantParseParameter() { mError("can't parsed parameter k"); }
|
||||
int32_t grantCheck(EGrantType grant) { return TSDB_CODE_SUCCESS; }
|
||||
void grantReset(EGrantType grant, uint64_t value) {}
|
||||
void grantResetNew(SMnode *pMnode, EGrantType grant, uint64_t value) {}
|
||||
void grantReset(SMnode *pMnode, EGrantType grant, uint64_t value) {}
|
||||
void grantAdd(EGrantType grant, uint64_t value) {}
|
||||
void grantRestore(EGrantType grant, uint64_t value) {}
|
||||
int32_t dmProcessGrantReq(SRpcMsg *pMsg) { return TSDB_CODE_SUCCESS; }
|
||||
|
|
|
@ -417,7 +417,7 @@ int32_t mndStart(SMnode *pMnode) {
|
|||
mndSetRestore(pMnode, true);
|
||||
}
|
||||
|
||||
grantResetNew(pMnode, TSDB_GRANT_ALL, 0);
|
||||
grantReset(pMnode, TSDB_GRANT_ALL, 0);
|
||||
|
||||
return mndInitTimer(pMnode);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue