FLUSHALL [ASYNC] * * Flushes the whole server data set. */
| 672 | * |
| 673 | * Flushes the whole server data set. */ |
| 674 | void flushallCommand(client *c) { |
| 675 | int flags; |
| 676 | if (getFlushCommandFlags(c,&flags) == C_ERR) return; |
| 677 | flushAllDataAndResetRDB(flags); |
| 678 | addReply(c,shared.ok); |
| 679 | } |
| 680 | |
| 681 | /* This command implements DEL and LAZYDEL. */ |
| 682 | void delGenericCommand(client *c, int lazy) { |
nothing calls this directly
no test coverage detected