fix(stream): fix the invalid check for subtable name.
This commit is contained in:
parent
bb31b0c121
commit
3cd158f681
|
@ -2139,7 +2139,7 @@ bool alreadyAddGroupId(char* ctbName) {
|
||||||
_location--;
|
_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) {
|
char* buildCtbNameByGroupId(const char* stbFullName, uint64_t groupId) {
|
||||||
|
|
Loading…
Reference in New Issue