Skip to content

Commit

Permalink
Merge pull request #665 from taosdata/TS-3466-MAIN
Browse files Browse the repository at this point in the history
fix: super table limit child table is work on childTblExists is false
  • Loading branch information
plum-lihui committed May 29, 2023
2 parents 83b5b13 + 521636b commit cb63b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/benchInsert.c
Expand Up @@ -2808,7 +2808,7 @@ static int startMultiThreadInsertData(SDataBase* database,
int64_t ntables;
if (stbInfo->childTblTo > 0) {
ntables = stbInfo->childTblTo - stbInfo->childTblFrom;
} else if (stbInfo->childTblLimit) {
} else if (stbInfo->childTblLimit > 0 && stbInfo->childTblExists) {
ntables = stbInfo->childTblLimit;
} else {
ntables = stbInfo->childTblCount;
Expand Down

0 comments on commit cb63b79

Please sign in to comment.