[TD-2996]<fix>: reset pContext->singleCmd to zeroes when httpReleaseContext(pContext, true)
This commit is contained in:
parent
1857355a2c
commit
e26a472e91
|
|
@ -155,6 +155,7 @@ void httpReleaseContext(HttpContext *pContext, bool clearRes) {
|
||||||
|
|
||||||
if (clearRes) {
|
if (clearRes) {
|
||||||
httpClearParser(pContext->parser);
|
httpClearParser(pContext->parser);
|
||||||
|
memset(&pContext->singleCmd, 0, sizeof(HttpSqlCmd));
|
||||||
}
|
}
|
||||||
|
|
||||||
HttpContext **ppContext = pContext->ppContext;
|
HttpContext **ppContext = pContext->ppContext;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue