Skip to content
Snippets Groups Projects
Commit 39def593 authored by Tatsuo Ishii's avatar Tatsuo Ishii
Browse files

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.
parent 506a9893
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment