提交 27e2ccea 编写于 作者: Y yihaoDeng

fix compile error on windows

上级 e396be72
...@@ -5943,7 +5943,7 @@ static void buildTableBlockDistResult(SQInfo *pQInfo) { ...@@ -5943,7 +5943,7 @@ static void buildTableBlockDistResult(SQInfo *pQInfo) {
type = blockDistSchema.type; type = blockDistSchema.type;
} }
assert(type == TSDB_DATA_TYPE_BINARY); assert(type == TSDB_DATA_TYPE_BINARY);
STR_TO_VARSTR(pQuery->sdata[j]->data, (char *)(pTableBlockDist->result)); STR_WITH_SIZE_TO_VARSTR(pQuery->sdata[j]->data, pTableBlockDist->result, (VarDataLenT)strlen(pTableBlockDist->result));
} }
freeTableBlockDist(pTableBlockDist); freeTableBlockDist(pTableBlockDist);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册