From 18f646b7989ca80dab03bfa840738d55a125d773 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Thu, 22 Oct 2020 17:49:49 +0800 Subject: [PATCH] [td-1373] --- src/query/src/qTsbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/query/src/qTsbuf.c b/src/query/src/qTsbuf.c index 7c2f8ebb5e..fa8f83e4dc 100644 --- a/src/query/src/qTsbuf.c +++ b/src/query/src/qTsbuf.c @@ -974,7 +974,7 @@ int32_t tsBufGetNumOfVnodes(STSBuf* pTSBuf) { return 0; } - return pTSBuf->pData->len; + return pTSBuf->numOfVnodes; } void tsBufGetVnodeIdList(STSBuf* pTSBuf, int32_t* num, int32_t** vnodeId) { -- GitLab