enh: remove asserts

This commit is contained in:
kailixu 2024-08-26 15:23:18 +08:00
parent 7d2e28fd1d
commit 1f4b487f36
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: case TSDB_GRANT_VIEW:
return atomic_load_8(&tsGrant) & GRANT_FLAG_VIEW; return atomic_load_8(&tsGrant) & GRANT_FLAG_VIEW;
default: default:
ASSERTS(0, "undefined grant type:%" PRIi8, type); uWarn("undefined grant type:%" PRIi8, type);
break; break;
} }
return 0; return 0;