diff --git a/src/benchInsert.c b/src/benchInsert.c index adf66b69..5c3f0f24 100644 --- a/src/benchInsert.c +++ b/src/benchInsert.c @@ -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; }