mirror of
https://github.com/joyieldInc/predixy.git
synced 2025-12-24 22:46:41 +08:00
Update Handler.cpp
Add EXEC without MULTI
This commit is contained in:
parent
4d9166443b
commit
a82cd91143
@ -639,6 +639,7 @@ bool Handler::preHandleRequest(Request* req, const String& key)
|
||||
return true;
|
||||
case Command::Watch:
|
||||
case Command::Multi:
|
||||
case Command::Exec:
|
||||
if (!mProxy->supportTransaction()) {
|
||||
directResponse(req, Response::ForbidTransaction);
|
||||
return true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user