From ce860ec39cf4128d087ff47f6e0cb448b43c1234 Mon Sep 17 00:00:00 2001 From: Jeff Tao Date: Tue, 27 Oct 2020 11:27:41 +0000 Subject: [PATCH] remove the windows compiling error --- src/rpc/src/rpcMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/src/rpcMain.c b/src/rpc/src/rpcMain.c index 976a635818..294e204791 100644 --- a/src/rpc/src/rpcMain.c +++ b/src/rpc/src/rpcMain.c @@ -1610,7 +1610,7 @@ static void rpcDecRef(SRpcInfo *pRpc) int count = atomic_sub_fetch_32(&tsRpcNum, 1); if (count == 0) { taosCloseRef(tsRpcRefId); - tsRpcInit = PTHREAD_ONCE_INIT; + // tsRpcInit = PTHREAD_ONCE_INIT; // windows compliling error } } } -- GitLab