feat: sql command 'show consumers' and 'show subscriptions'
This commit is contained in:
parent
bcf477d33f
commit
41ae1e30fa
|
@ -564,9 +564,10 @@ class MockCatalogServiceImpl {
|
||||||
|
|
||||||
int32_t getAllDnodeList(SArray** pDnodes) const {
|
int32_t getAllDnodeList(SArray** pDnodes) const {
|
||||||
SMetaRes res = {0};
|
SMetaRes res = {0};
|
||||||
|
catalogGetDnodeList((SArray**)&res.pRes);
|
||||||
*pDnodes = taosArrayInit(1, sizeof(SMetaRes));
|
*pDnodes = taosArrayInit(1, sizeof(SMetaRes));
|
||||||
taosArrayPush(*pDnodes, &res);
|
taosArrayPush(*pDnodes, &res);
|
||||||
return catalogGetDnodeList((SArray**)&res.pRes);
|
return TSDB_CODE_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint64_t id_;
|
uint64_t id_;
|
||||||
|
|
Loading…
Reference in New Issue