Fix Windows build.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 11 Sep 2014 12:15:40 +0000 (15:15 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 11 Sep 2014 12:15:40 +0000 (15:15 +0300)
I renamed a variable, but missed an #ifdef WIN32 block.

contrib/pgbench/pgbench.c

index 4001a98f349794251d7a0bc540391ea6701a87eb..087e0d37fb62f09b16a2881dc8484c72ac08184d 100644 (file)
@@ -1268,7 +1268,7 @@ top:
                                         * anyway
                                         */
                                        fprintf(logfile, "%d %d %.0f %d 0 0",
-                                                       st->id, st->cnt, usec, st->use_file);
+                                                       st->id, st->cnt, latency, st->use_file);
 #endif
                                        if (throttle_delay)
                                                fprintf(logfile, " %.0f", lag);