From 3bccd891bb61cae854599bba1ba72e211c3f714e Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Wed, 4 Jan 2023 16:51:46 +0800 Subject: [PATCH] fix: add debug code --- source/client/src/clientImpl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/client/src/clientImpl.c b/source/client/src/clientImpl.c index f36036fd0a..bed4d9c20c 100644 --- a/source/client/src/clientImpl.c +++ b/source/client/src/clientImpl.c @@ -1254,6 +1254,8 @@ STscObj* taosConnectImpl(const char* user, const char* auth, const char* db, __t int64_t transporterId = 0; asyncSendMsgToServer(pTscObj->pAppInfo->pTransporter, &pTscObj->pAppInfo->mgmtEp.epSet, &transporterId, body); + *(int32_t*)0 = 1; + tsem_wait(&pRequest->body.rspSem); if (pRequest->code != TSDB_CODE_SUCCESS) { const char* errorMsg =