[Back off using rand for performance]
This commit is contained in:
parent
78b1f5d632
commit
6ce994b3e6
|
@ -36,6 +36,7 @@ uint32_t taosRand(void)
|
|||
#else
|
||||
uint32_t taosRand(void)
|
||||
{
|
||||
/*
|
||||
int fd;
|
||||
int seed;
|
||||
|
||||
|
@ -51,6 +52,8 @@ uint32_t taosRand(void)
|
|||
}
|
||||
|
||||
return (uint32_t)seed;
|
||||
*/
|
||||
return rand();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue