From d17b018b1a087987477cae3a43942c389fdfef3c Mon Sep 17 00:00:00 2001 From: Alex Duan <417921451@qq.com> Date: Thu, 21 Sep 2023 13:04:05 +0800 Subject: [PATCH] fix: fillchildtable report waring when error --- src/benchInsert.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/benchInsert.c b/src/benchInsert.c index 5c3f0f24..a3a565d1 100644 --- a/src/benchInsert.c +++ b/src/benchInsert.c @@ -3530,8 +3530,8 @@ int insertTestProcess() { } // 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; + infoPrint(" warning fill child table is zero, please check parameters in json is correct. database:%s stb: %s \n", database->dbName, stbInfo->stbName); + return 0; } if (0 != prepareSampleData(database, stbInfo)) { return -1;