|
1 | 1 | /* |
2 | | - * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.65 2007/04/08 01:15:07 ishii Exp $ |
| 2 | + * $PostgreSQL: pgsql/contrib/pgbench/pgbench.c,v 1.66 2007/05/24 18:54:10 tgl Exp $ |
3 | 3 | * |
4 | 4 | * pgbench: a simple benchmark program for PostgreSQL |
5 | 5 | * written by Tatsuo Ishii |
@@ -476,7 +476,8 @@ doCustom(CState * state, int n, int debug) |
476 | 476 | (int) (now.tv_usec-st->txn_begin.tv_usec); |
477 | 477 |
|
478 | 478 | fprintf(LOGFILE,"%d %d %.0f %d %ld %ld\n", |
479 | | -st->id,st->cnt,diff,st->use_file,now.tv_sec,now.tv_usec); |
| 479 | +st->id,st->cnt,diff,st->use_file, |
| 480 | +(long)now.tv_sec, (long)now.tv_usec); |
480 | 481 | } |
481 | 482 |
|
482 | 483 | if (commands[st->state]->type==SQL_COMMAND) |
|