Skip to content

Commit

Permalink
feat: add progress tips
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed May 21, 2024
1 parent d4b9557 commit a176e1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/benchCsv.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int batchWriteCsv(SDataBase* db, SSuperTable* stb, FILE* fs, char* buf, int bufL

// print show
if (++show % SHOW_CNT == 0) {
infoPrint("batch write child table cnt = %"PRId64 " all rows = %" PRId64 "\n", i, show);
infoPrint("batch write child table cnt = %"PRId64 " all rows = %" PRId64 "\n", i+1, show);
}

}
Expand Down Expand Up @@ -220,7 +220,7 @@ int interlaceWriteCsv(SDataBase* db, SSuperTable* stb, FILE* fs, char* buf, int

// print show
if (++show % SHOW_CNT == 0) {
infoPrint("interlace write child table index = %"PRId64 " all rows = %"PRId64 "\n", i, show);
infoPrint("interlace write child table index = %"PRId64 " all rows = %"PRId64 "\n", i+1, show);
}
}

Expand Down

0 comments on commit a176e1f

Please sign in to comment.