fix(stream): fix the invalid check for subtable name.

This commit is contained in:
Haojun Liao 2024-02-24 02:19:40 +08:00
parent bb31b0c121
commit 3cd158f681
1 changed files with 1 additions and 1 deletions

View File

@ -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) {