From 1f4b487f36f9e6e6d8b8cb3c0cebcf071d0d9d5f Mon Sep 17 00:00:00 2001 From: kailixu Date: Mon, 26 Aug 2024 15:23:18 +0800 Subject: [PATCH] enh: remove asserts --- source/common/src/tglobal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 4d486518ee..73b9786f99 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -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;