[TD-1974] <fix>: fix big number result output issue.

This commit is contained in:
Shuduo Sang 2020-11-07 20:46:51 +08:00
parent 935dac8c06
commit ff690a8c63
1 changed files with 2 additions and 2 deletions

View File

@ -793,8 +793,8 @@ int main(int argc, char *argv[]) {
(ntables * nrecords_per_table) / (t * nrecords_per_request),
t * 1000);
printf("Spent %.4f seconds to insert %d records with %d record(s) per request: %.2f records/second\n",
t, ntables * nrecords_per_table, nrecords_per_request,
printf("Spent %.4f seconds to insert %lld records with %d record(s) per request: %.2f records/second\n",
t, (long long int)ntables * nrecords_per_table, nrecords_per_request,
ntables * nrecords_per_table / t);
for (int i = 0; i < threads; i++) {