Skip to content

Commit

Permalink
Merge pull request #763 from taosdata/merge/3.0_to_main
Browse files Browse the repository at this point in the history
fix: remove buffer zero
  • Loading branch information
DuanKuanJun committed Jun 26, 2024
2 parents 927801d + 24c9c23 commit e5049d8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/benchInsert.c
Original file line number Diff line number Diff line change
Expand Up @@ -993,7 +993,6 @@ static void *createTable(void *sarg) {

pThreadInfo->tables_created += batchNum;
batchNum = 0;
memset(pThreadInfo->buffer, 0, TSDB_MAX_ALLOWED_SQL_LEN);
uint64_t currentPrintTime = toolsGetTimestampMs();
if (currentPrintTime - lastPrintTime > PRINT_STAT_INTERVAL) {
float speed = (pThreadInfo->tables_created - lastTotalCreate) * 1000 / (currentPrintTime - lastPrintTime);
Expand Down

0 comments on commit e5049d8

Please sign in to comment.