enh: remove asserts
This commit is contained in:
parent
7d2e28fd1d
commit
1f4b487f36
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue