enh: refactor unit test of parser and planner

This commit is contained in:
Xiaoyu Wang 2022-04-29 11:26:55 +08:00
parent 61f08123e9
commit fcd61a25ec
1 changed files with 0 additions and 1 deletions

View File

@ -496,7 +496,6 @@ static EDealRes translateValue(STranslateContext* pCxt, SValueNode* pVal) {
return generateDealNodeErrMsg(pCxt, TSDB_CODE_OUT_OF_MEMORY);
}
varDataSetLen(pVal->datum.p, pVal->node.resType.bytes);
pVal->node.resType.bytes += VARSTR_HEADER_SIZE;
strncpy(varDataVal(pVal->datum.p), pVal->literal, pVal->node.resType.bytes);
break;
}