[TD-992]
This commit is contained in:
parent
b628b891e4
commit
22c9d652a8
|
@ -23,7 +23,7 @@ extern "C" {
|
|||
// TAOS_OS_FUNC_RAND
|
||||
uint32_t taosRand(void);
|
||||
void taosRandStr(char* str, int32_t size);
|
||||
uint32_t trand(void);
|
||||
uint32_t taosSafeRand(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
uint32_t taosRand(void) { return rand(); }
|
||||
|
||||
uint32_t trand(void) {
|
||||
uint32_t taosSafeRand(void) {
|
||||
int fd;
|
||||
int seed;
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "os.h"
|
||||
#include "tglobal.h"
|
||||
#include "sim.h"
|
||||
#undef TAOS_MEM_CHECK
|
||||
|
||||
bool simAsyncQuery = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue