enhance: add log of initialize resident func

This commit is contained in:
slzhou 2022-10-19 15:16:18 +08:00
parent c58daa705b
commit 54803a56a6
1 changed files with 1 additions and 0 deletions

View File

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