fix:compile error in windows
This commit is contained in:
parent
0a7d8f3a69
commit
acf6e53894
|
@ -976,8 +976,9 @@ void taos_init_imp(void) {
|
||||||
tscError("failed to init conv");
|
tscError("failed to init conv");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#ifndef WINDOWS
|
||||||
ENV_ERR_RET(tzInit(), "failed to init timezone");
|
ENV_ERR_RET(tzInit(), "failed to init timezone");
|
||||||
|
#endif
|
||||||
ENV_ERR_RET(monitorInit(), "failed to init monitor");
|
ENV_ERR_RET(monitorInit(), "failed to init monitor");
|
||||||
ENV_ERR_RET(rpcInit(), "failed to init rpc");
|
ENV_ERR_RET(rpcInit(), "failed to init rpc");
|
||||||
|
|
||||||
|
|
|
@ -237,7 +237,9 @@ void taos_cleanup(void) {
|
||||||
tscWarn("failed to cleanup task queue");
|
tscWarn("failed to cleanup task queue");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef WINDOWS
|
||||||
tzCleanup();
|
tzCleanup();
|
||||||
|
#endif
|
||||||
tmqMgmtClose();
|
tmqMgmtClose();
|
||||||
|
|
||||||
int32_t id = clientReqRefPool;
|
int32_t id = clientReqRefPool;
|
||||||
|
|
Loading…
Reference in New Issue