From 70ac290aa43a7f82f2fa715f1029981bc5776ff4 Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Tue, 27 Apr 2021 12:24:07 +0800 Subject: [PATCH] Hotfix/sangshuduo/td 3969 reenable batch create tbl num (#5935) * [TD-3414]: add insert function with json files of taodemo-testcase -repeat * [TD-3879]add stmt mode for taodemo go * [TD-3414]: add insert function with json files of taodemo-testcase * [TD-3918] add case to verify the bug of TD-3897 * [TD-3453]:modify filepath in scripts * Update fulltest.sh * [TD-3918] fix the case * Update queryFilterTswithDateUnit.py * [TD-3850]: fix vnode write enqueue flowctrl UAF & no response * Hotfix/sangshuduo/td 3401 query statistic (#5907) * [TD-3401]: taosdemo query statistic. refactor func name. * [TD-3401]: taosdemo query statistic. refactor func name 2. * [TD-3401]: taosdemo support query statistic. implementation. * cleanup * [TD-3401]: taosdemo query statistic. change us to ms. * [TD-3401]: taosdemo query statistic. increase sql buffer for query. * [TD-3401]: taosdemo query statistic more accurate result. * [TD-3401]: taosdemo query statistic. modify last time logic. Co-authored-by: Shuduo Sang * improve coverage of operations * [TD-3944]: make default offline threshold to 10 days. (#5912) Co-authored-by: Shuduo Sang * [TD-3572]: response out of dnodes if #dnodes <= maxDbReplica * [TD-3937]: add taosdemo performance test compare scripts * update script * Hotfix/sangshuduo/td 3317 for master (#5921) * [TD-3317]: taosdemo interlace insertion. patch for master. * [TD-3317]: taosdemo support interlace mode. adjust remainder rows logic. * [TD-3317]: taosdemo support interlace mode. fix global and stable interlace rows logic. * [TD-3317]: taosdemo support interlace mode. fix 'interlaceRows' is used uninitialized Co-authored-by: Shuduo Sang * [TD-3968]: taosdemo data length should be 16*1024 (#5926) Co-authored-by: Shuduo Sang * [TD-3969]: taosdemo re-enable batch-create-tbl-num Co-authored-by: tomchon Co-authored-by: liuyq-617 Co-authored-by: wu champion Co-authored-by: wu champion Co-authored-by: Minglei Jin Co-authored-by: huili <52318143+plum-lihui@users.noreply.github.com> Co-authored-by: Shengliang Guan Co-authored-by: Shuduo Sang Co-authored-by: Ping Xiao --- src/kit/taosdemo/taosdemo.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/kit/taosdemo/taosdemo.c b/src/kit/taosdemo/taosdemo.c index 83ecd145a0..0fc8687b22 100644 --- a/src/kit/taosdemo/taosdemo.c +++ b/src/kit/taosdemo/taosdemo.c @@ -3657,7 +3657,6 @@ static bool getMetaFromInsertJsonFile(cJSON* root) { goto PARSE_OVER; } - /* cJSON* batchCreateTbl = cJSON_GetObjectItem(stbInfo, "batch_create_tbl_num"); if (batchCreateTbl && batchCreateTbl->type == cJSON_Number) { g_Dbs.db[i].superTbls[j].batchCreateTableNum = batchCreateTbl->valueint; @@ -3667,7 +3666,6 @@ static bool getMetaFromInsertJsonFile(cJSON* root) { printf("ERROR: failed to read json, batch_create_tbl_num not found\n"); goto PARSE_OVER; } - */ cJSON *childTblExists = cJSON_GetObjectItem(stbInfo, "child_table_exists"); // yes, no if (childTblExists -- GitLab