git.postgresql.org Git - postgresql.git/commit
2006年12月26日 01:02:05 +0000 (01:02 +0000)
2006年12月26日 01:02:05 +0000 (01:02 +0000)
commit 39def593c5b9b2c694efada0a1d9ba358c888ed5
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.
This is the main PostgreSQL git repository.
RSS
Atom