From 6a9b3f04d558f7c9055692ae21df870f78e4472c Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Thu, 26 Aug 2021 16:02:20 +0800 Subject: [PATCH] Feature/sangshuduo/td 5875 taosdemo ue improve (#7614) * [TD-5875]: taosdemo show progress * empty commit for CI * better msg for create child table. --- src/kit/taosdemo/taosdemo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/kit/taosdemo/taosdemo.c b/src/kit/taosdemo/taosdemo.c index f13a4c39ed..041b7f981d 100644 --- a/src/kit/taosdemo/taosdemo.c +++ b/src/kit/taosdemo/taosdemo.c @@ -102,6 +102,7 @@ extern char configDir[]; #define NOTE_BUFF_LEN (SMALL_BUFF_LEN*16) #define DEFAULT_TIMESTAMP_STEP 1 +#define DEFAULT_CHILDTABLES 10000 enum TEST_MODE { @@ -625,7 +626,7 @@ SArguments g_args = { 0, // interlace_rows; 30000, // num_of_RPR (1024*1024), // max_sql_len - 10000, // num_of_tables + DEFAULT_CHILDTABLES, // num_of_tables 10000, // num_of_DPT 0, // abort 0, // disorderRatio @@ -9143,6 +9144,7 @@ static void testCmdLine() { } g_args.test_mode = INSERT_TEST; + g_totalChildTables = DEFAULT_CHILDTABLES; insertTestProcess(); if (false == g_Dbs.insert_only)