Skip to content

Commit

Permalink
Merge pull request #702 from taosdata/fix/TS-3951
Browse files Browse the repository at this point in the history
fix: if child table count error tips
  • Loading branch information
DuanKuanJun committed Sep 12, 2023
2 parents ba0b1c2 + 15016ce commit c7cd35a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/benchInsert.c
Original file line number Diff line number Diff line change
Expand Up @@ -3528,7 +3528,11 @@ int insertTestProcess() {
}
}
}
fillChildTblName(database, stbInfo);
// check fill child table count valid
if(fillChildTblName(database, stbInfo) <= 0) {
errorPrint(" fill child table is zero, please check parameters in json is correct. database:%s stb: %s \n", database->dbName, stbInfo->stbName);
return -1;
}
if (0 != prepareSampleData(database, stbInfo)) {
return -1;
}
Expand Down

0 comments on commit c7cd35a

Please sign in to comment.