Merge pull request #27466 from taosdata/enh/TD-31541-3.0

enh: remove asserts
This commit is contained in:
Hongze Cheng 2024-08-26 17:25:53 +08:00 committed by GitHub
commit 0ce8b9f396
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2329,7 +2329,7 @@ int8_t taosGranted(int8_t type) {
case TSDB_GRANT_VIEW:
return atomic_load_8(&tsGrant) & GRANT_FLAG_VIEW;
default:
ASSERTS(0, "undefined grant type:%" PRIi8, type);
uWarn("undefined grant type:%" PRIi8, type);
break;
}
return 0;