mirror of https://mirror.osredm.com/root/redis.git
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.
This commit is contained in:
parent
d38df59a3f
commit
3c4def561a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue