提交 6ce994b3 编写于 作者: H Hui Li

[Back off using rand for performance]

上级 78b1f5d6
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册