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