提交 71e676ce 编写于 作者: S shenglian zhou

(query):remove sversion/tversion from SSqlRes and reset retrivets when qDumpRetrieveResult

上级 767d1cb2
......@@ -307,8 +307,6 @@ typedef struct {
int32_t row;
int16_t numOfCols;
int16_t precision;
int32_t sVersion;
int32_t tVersion;
bool completed;
int32_t code;
char * data;
......
......@@ -420,6 +420,9 @@ int32_t qDumpRetrieveResult(qinfo_t qinfo, SRetrieveTableRsp **pRsp, int32_t *co
setQueryStatus(pRuntimeEnv, QUERY_OVER);
}
RESET_NUM_OF_RESULTS(&(pQInfo->runtimeEnv));
pQInfo->lastRetrieveTs = taosGetTimestampMs();
if ((*pRsp)->compressed && compLen != 0) {
int32_t numOfCols = pQueryAttr->pExpr2 ? pQueryAttr->numOfExpr2 : pQueryAttr->numOfOutput;
int32_t origSize = pQueryAttr->resultRowSize * s;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册