提交 2c2b3668 编写于 作者: X Xiaoyu Wang 提交者: cpwu

feat: sql command 'show consumers' and 'show subscriptions'

上级 9bcc0cd3
......@@ -564,9 +564,10 @@ class MockCatalogServiceImpl {
int32_t getAllDnodeList(SArray** pDnodes) const {
SMetaRes res = {0};
catalogGetDnodeList((SArray**)&res.pRes);
*pDnodes = taosArrayInit(1, sizeof(SMetaRes));
taosArrayPush(*pDnodes, &res);
return catalogGetDnodeList((SArray**)&res.pRes);
return TSDB_CODE_SUCCESS;
}
uint64_t id_;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册