handle query crash
This commit is contained in:
parent
507573d52d
commit
bad804e38d
|
@ -137,7 +137,7 @@ static void clientHandleResp(SCliConn* conn) {
|
||||||
rpcMsg.ahandle = pCtx->ahandle;
|
rpcMsg.ahandle = pCtx->ahandle;
|
||||||
|
|
||||||
if (rpcMsg.msgType == TDMT_VND_QUERY_RSP || rpcMsg.msgType == TDMT_VND_FETCH_RSP ||
|
if (rpcMsg.msgType == TDMT_VND_QUERY_RSP || rpcMsg.msgType == TDMT_VND_FETCH_RSP ||
|
||||||
rpcMsg.msgType == TDMT_VND_RES_READY) {
|
rpcMsg.msgType == TDMT_VND_RES_READY_RSP) {
|
||||||
rpcMsg.handle = conn;
|
rpcMsg.handle = conn;
|
||||||
conn->persist = 1;
|
conn->persist = 1;
|
||||||
tDebug("client conn %p persist by app", conn);
|
tDebug("client conn %p persist by app", conn);
|
||||||
|
|
Loading…
Reference in New Issue