未验证 提交 0fcf6259 编写于 作者: S slguan 提交者: GitHub

Merge pull request #1286 from taosdata/feature/liaohj

fix sub/pub bug in returning data to client
......@@ -483,9 +483,8 @@ void vnodeExecuteRetrieveReq(SSchedMsg *pSched) {
pMsg += size;
// write the progress information of each meter to response
// this is required by subscriptions
if (pQInfo != NULL ) {
// write the progress information of each meter to response this is required by subscriptions
if (pQInfo != NULL && code == TSDB_CODE_SUCCESS) {
if (pQInfo->pTableQuerySupporter != NULL && pQInfo->pTableQuerySupporter->pMeterSidExtInfo != NULL) {
*((int32_t *)pMsg) = htonl(pQInfo->pTableQuerySupporter->numOfMeters);
pMsg += sizeof(int32_t);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册