Skip to content

Commit 65eefd7

Browse files
Double-Pl_ for row(s), thread(s)
1 parent e1b28be commit 65eefd7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/fwrite.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,8 +1116,11 @@ void fwriteMain(fwriteMainArgs args)
11161116
len, len / MEGA, compress_len, compress_len / MEGA, len != 0 ? (100.0 * compress_len) / len : 0, crc);
11171117
}
11181118
#endif
1119-
DTPRINT(_("Written %"PRId64" rows in %.3f secs using %d thread%s. MaxBuffUsed=%d%%\n"),
1120-
args.nrow, 1.0*(wallclock()-t0), nth, nth ==1 ? "" : "s", maxBuffUsedPC);
1119+
DTPRINT(Pl_(nth, Pl_(args.nrow, "Wrote %"PRId64" row in %.3f secs using %d thread. MaxBuffUsed=%d%%\n",
1120+
"Wrote %"PRId64" rows in %.3f secs using %d thread. MaxBuffUsed=%d%%\n"),
1121+
Pl_(args.nrow, "Wrote %"PRId64" row in %.3f secs using %d threads. MaxBuffUsed=%d%%\n",
1122+
"Wrote %"PRId64" rows in %.3f secs using %d threads. MaxBuffUsed=%d%%\n")),
1123+
args.nrow, 1.0*(wallclock()-t0), nth, maxBuffUsedPC);
11211124
}
11221125

11231126
if (f != -1 && CLOSE(f) && !failed)

0 commit comments

Comments
 (0)