From 3cd158f681c9952091832159e5d7b1c7f586a000 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Sat, 24 Feb 2024 02:19:40 +0800 Subject: [PATCH] fix(stream): fix the invalid check for subtable name. --- source/common/src/tdatablock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/src/tdatablock.c b/source/common/src/tdatablock.c index 033791a572..9f55b67ea3 100644 --- a/source/common/src/tdatablock.c +++ b/source/common/src/tdatablock.c @@ -2139,7 +2139,7 @@ bool alreadyAddGroupId(char* ctbName) { _location--; } - return ctbName[_location] == '_' && len - 1 - _location > 15; // 15 means the min length of groupid + return ctbName[_location] == '_' && len - 1 - _location >= 15; // 15 means the min length of groupid } char* buildCtbNameByGroupId(const char* stbFullName, uint64_t groupId) {