Flag the transaction as DIRTY_EXEC so that EXEC will fail. * Should be called every time there is an error while queueing a command. */
| 92 | /* Flag the transaction as DIRTY_EXEC so that EXEC will fail. |
| 93 | * Should be called every time there is an error while queueing a command. */ |
| 94 | void flagTransaction(client *c) { |
| 95 | if (c->flags & CLIENT_MULTI) |
| 96 | c->flags |= CLIENT_DIRTY_EXEC; |
| 97 | } |
| 98 | |
| 99 | void multiCommand(client *c) { |
| 100 | serverAssert(GlobalLocksAcquired()); |
no outgoing calls
no test coverage detected