From 6c11c2ff06021fd668ac4f648f878fd507ed5b2c Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Thu, 23 Dec 2021 21:14:11 +0800 Subject: [PATCH] [TD-12195](insert):trigger CI test by correct format msg --- src/client/src/tscParseLineProtocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/src/tscParseLineProtocol.c b/src/client/src/tscParseLineProtocol.c index 0997067016..9f69a8a66d 100644 --- a/src/client/src/tscParseLineProtocol.c +++ b/src/client/src/tscParseLineProtocol.c @@ -1060,8 +1060,8 @@ static int32_t insertChildTablePointsBatch(TAOS* taos, char* cTableName, char* s tscDebug("SML:0x%"PRIx64" insert child table table %s of super table %s : %s", info->id, cTableName, sTableName, sql); - size_t rows = taosArrayGetSize(rowsBind); size_t maxBatchSize = TSDB_MAX_WAL_SIZE/rowSize * 2 / 3; + size_t rows = taosArrayGetSize(rowsBind); size_t batchSize = MIN(maxBatchSize, rows); tscDebug("SML:0x%"PRIx64" insert rows into child table %s. num of rows: %zu, batch size: %zu", info->id, cTableName, rows, batchSize); -- GitLab