Unverified Commit 3c4def56 authored by Oran Agra's avatar Oran Agra Committed by GitHub
Browse files

Fix reply schema validator with RESET command (#11953)

The reply schema validator is failing since the recent changes to introspection.tcl that use the RESET command, this happens because this test forces RESP3, but RESET command didn't respect that and set back RESP2.
parent d38df59a
......@@ -1498,7 +1498,11 @@ void clearClientConnectionState(client *c) {
if (c->flags & CLIENT_TRACKING) disableTracking(c);
selectDb(c,0);
#ifdef LOG_REQ_RES
c->resp = server.client_default_resp;
#else
c->resp = 2;
#endif
clientSetDefaultAuth(c);
moduleNotifyUserChanged(c);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment