fix compile error on windows

This commit is contained in:
yihaoDeng 2021-01-20 03:11:46 +00:00
parent e396be7238
commit 27e2cceaf5
1 changed files with 1 additions and 1 deletions

View File

@ -5943,7 +5943,7 @@ static void buildTableBlockDistResult(SQInfo *pQInfo) {
type = blockDistSchema.type;
}
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);