Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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:17:04 +0000 (15:17 +0300)
I renamed a variable, but missed an #ifdef WIN32 block.

contrib/pgbench/pgbench.c

index d7fdfd9e0271ad7ac4f959d4189e13e0f0306043..d2c34c0620ee830cfb6bf48adbd49767f8b70e7a 100644 (file)
@@ -1192,7 +1192,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);