fix:[TD-28032]concat subtable and hash val as new subtable name to avoid data from multi time line write to one time line
This commit is contained in:
parent
b200e6807f
commit
df70a6ef57
|
@ -2132,10 +2132,11 @@ bool isAutoTableName(char* ctbName){
|
|||
bool alreadyAddGroupId(char* ctbName){
|
||||
size_t len = strlen(ctbName);
|
||||
size_t _location = len - 1;
|
||||
for(; _location >= 0; _location--){
|
||||
if(ctbName[_location] < '0' && ctbName[_location] > '9'){
|
||||
while(_location > 0){
|
||||
if(ctbName[_location] < '0' || ctbName[_location] > '9'){
|
||||
break;
|
||||
}
|
||||
_location--;
|
||||
}
|
||||
|
||||
return ctbName[_location] == '_' && _location < len -1;
|
||||
|
|
Loading…
Reference in New Issue