| 105 | } |
| 106 | |
| 107 | void discardCommand(client *c) { |
| 108 | if (!(c->flags & CLIENT_MULTI)) { |
| 109 | addReplyError(c,"DISCARD without MULTI"); |
| 110 | return; |
| 111 | } |
| 112 | discardTransaction(c); |
| 113 | addReply(c,shared.ok); |
| 114 | } |
| 115 | |
| 116 | void beforePropagateMulti() { |
| 117 | /* Propagating MULTI */ |
nothing calls this directly
no test coverage detected