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