diff --git a/src/kit/taosdemo/taosdemo.c b/src/kit/taosdemo/taosdemo.c index b12850be09e62b17cc34590b47cf3ed91faeadd1..a866a677adebe2309c0c8569a52fa77cafc9c26e 100644 --- a/src/kit/taosdemo/taosdemo.c +++ b/src/kit/taosdemo/taosdemo.c @@ -795,7 +795,7 @@ int main(int argc, char *argv[]) { 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); + ((long long int)ntables * nrecords_per_table) / t); for (int i = 0; i < threads; i++) { info *t_info = infos + i;