From efc9c32edd54dbc91f2a576598573febc2deed75 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Fri, 23 Oct 2020 23:41:24 +0800 Subject: [PATCH] [td-1373] --- src/query/src/qExecutor.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/query/src/qExecutor.c b/src/query/src/qExecutor.c index cfef95ef00..6291ef53f5 100644 --- a/src/query/src/qExecutor.c +++ b/src/query/src/qExecutor.c @@ -4785,12 +4785,13 @@ static bool multiTableMultioutputHelper(SQInfo *pQInfo, int32_t index) { if (elem1.vnode < 0) { return false; } - } - - tsBufSetCursor(pRuntimeEnv->pTSBuf, &pRuntimeEnv->cur); + } else { + tsBufSetCursor(pRuntimeEnv->pTSBuf, &pRuntimeEnv->cur); STSCursor cur = tsBufGetCursor(pRuntimeEnv->pTSBuf); qDebug("QInfo:%p continue scan ts_comp file, tag:%s blockIndex:%d, tsIndex:%d", pQInfo, pRuntimeEnv->pCtx[0].tag.pz, cur.blockIndex, cur.tsIndex); + } + } } -- GitLab