74
74
New (MySQL 3.21+) random generation structure initialization
77
77
rand_st OUT Structure to initialize
78
78
seed1 IN First initialization parameter
79
79
seed2 IN Second initialization parameter
82
void drizzleclient_drizzleclient_randominit(struct rand_struct *rand_st, uint32_t seed1, uint32_t seed2)
84
84
memset(rand_st, 0, sizeof(*rand_st)); /* Avoid UMC varnings */
85
85
rand_st->max_value= 0x3FFFFFFFL;