]> git.saurik.com Git - redis.git/commit
REPLACE option for RESTORE.
authorantirez <antirez@gmail.com>
Wed, 7 Nov 2012 09:57:23 +0000 (10:57 +0100)
committerantirez <antirez@gmail.com>
Wed, 7 Nov 2012 09:57:23 +0000 (10:57 +0100)
commite5b5763f56d1379069c94ce7196c1a412bb44fba
tree3b3ba9783723c8ece1e7c18a46400dea7abf6978
parentc4b0b6854e543ea1ae75b94ffc59b1285ddce9d5
REPLACE option for RESTORE.

The REPLACE option deletes an existing key with the same name (if any)
and materializes the new one. The default behavior without RESTORE is to
return an error if a key already exists.
src/cluster.c
src/redis.c
tests/unit/dump.tcl