From 63a6aacc18579b447ee2d81978162419bd717a72 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Fri, 22 Sep 2023 11:44:37 +0800 Subject: [PATCH] fix:add interface tmq_get_connect to get TAOS from tmq --- source/client/src/clientTmq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/client/src/clientTmq.c b/source/client/src/clientTmq.c index e97b92148b..f8459cf626 100644 --- a/source/client/src/clientTmq.c +++ b/source/client/src/clientTmq.c @@ -3109,7 +3109,6 @@ int32_t tmq_offset_seek(tmq_t* tmq, const char* pTopicName, int32_t vgId, int64_ TAOS *tmq_get_connect(tmq_t *tmq){ if (tmq && tmq->pTscObj) { - int64_t *rid = taosMemoryCalloc(1, sizeof(int64_t)); return (TAOS *)(&(tmq->pTscObj->id)); } return NULL;