remove comments

This commit is contained in:
Ganlin Zhao 2023-08-29 18:27:07 +08:00
parent 026f61ee16
commit d2433a452c
1 changed files with 1 additions and 3 deletions

View File

@ -394,9 +394,7 @@ static int32_t createPartialFunction(const SFunctionNode* pSrcFunc, SFunctionNod
char name[TSDB_FUNC_NAME_LEN + TSDB_NAME_DELIMITER_LEN + sizeof(pSrcFunc) + 1] = {0};
int32_t len = snprintf(name, sizeof(name) - 1, "%s.%p", (*pPartialFunc)->functionName, pSrcFunc);
taosCreateMD5Hash(name, len);
strcpy((*pPartialFunc)->node.aliasName, name);
//snprintf((*pPartialFunc)->node.aliasName, sizeof((*pPartialFunc)->node.aliasName), "%s.%p",
// (*pPartialFunc)->functionName, pSrcFunc);
strncpy((*pPartialFunc)->node.aliasName, name, TSDB_COL_NAME_LEN - 1);
return TSDB_CODE_SUCCESS;
}