enh: remove obsolete code

This commit is contained in:
kailixu 2023-09-21 14:18:46 +08:00
parent b0d1f651ab
commit 677e938851
1 changed files with 1 additions and 0 deletions

View File

@ -2251,6 +2251,7 @@ int32_t ctgOpUpdateUser(SCtgCacheOperation *operation) {
memcpy(&userAuth.userAuth, &msg->userAuth, sizeof(msg->userAuth));
userAuth.userCacheSize = ctgGetUserCacheSize(&userAuth.userAuth);
if (taosHashPut(pCtg->userCache, msg->userAuth.user, strlen(msg->userAuth.user), &userAuth, sizeof(userAuth))) {
ctgError("taosHashPut user %s to cache failed", msg->userAuth.user);
CTG_ERR_JRET(TSDB_CODE_OUT_OF_MEMORY);