Call srandom() instead of srand().

Tatsuo Ishii <ishii@postgresql.org>

Commit: 39def593c5b9b2c694efada0a1d9ba358c888ed5
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: 2006-12-26T01:02:05Z
Releases: 8.3.0
Call srandom() instead of srand().
pgbench calls random() later, so it should have called srandom().
On most platforms except Windows srandom() is actually identical
to srand(), so the bug only bites Windows users.
per bug report from Akio Ishida.

Files

PathChange+/−
contrib/pgbench/pgbench.c modified +2 −2