Merge pull request #4146 from taosdata/hotfix/sangshuduo/fix-taosdemo-output-big-number
[TD-1974] <fix>: fix big number result output issue.
This commit is contained in:
commit
1d227a1dd1
|
@ -793,9 +793,9 @@ int main(int argc, char *argv[]) {
|
||||||
(ntables * nrecords_per_table) / (t * nrecords_per_request),
|
(ntables * nrecords_per_table) / (t * nrecords_per_request),
|
||||||
t * 1000);
|
t * 1000);
|
||||||
|
|
||||||
printf("Spent %.4f seconds to insert %d records with %d record(s) per request: %.2f records/second\n",
|
printf("Spent %.4f seconds to insert %lld records with %d record(s) per request: %.2f records/second\n",
|
||||||
t, ntables * nrecords_per_table, nrecords_per_request,
|
t, (long long int)ntables * nrecords_per_table, nrecords_per_request,
|
||||||
ntables * nrecords_per_table / t);
|
((long long int)ntables * nrecords_per_table) / t);
|
||||||
|
|
||||||
for (int i = 0; i < threads; i++) {
|
for (int i = 0; i < threads; i++) {
|
||||||
info *t_info = infos + i;
|
info *t_info = infos + i;
|
||||||
|
|
Loading…
Reference in New Issue