enhance: add log of initialize resident func

This commit is contained in:
slzhou 2022-10-19 15:20:12 +08:00
parent 54803a56a6
commit 90bdfd8f01
1 changed files with 1 additions and 1 deletions

View File

@ -961,8 +961,8 @@ int32_t udfdInitResidentFuncs() {
char* token;
while ((token = strtok_r(pSave, ",", &pSave)) != NULL) {
char func[TSDB_FUNC_NAME_LEN+1] = {0};
fnInfo("udfd add resident function %s", func);
strncpy(func, token, TSDB_FUNC_NAME_LEN);
fnInfo("udfd add resident function %s", func);
taosArrayPush(global.residentFuncs, func);
}