diff options
author | antirez <antirez@gmail.com> | 2014-05-12 10:01:59 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-05-12 10:01:59 +0200 |
commit | 5c78f876661497a8588eed48b5c04cb6848280f4 (patch) | |
tree | e983791d6d0ba50ac548da87878de99fd2cd8c97 /src/redis.h | |
parent | 2a48bd4a372abedfb229f8ac4e607d022ed31bdd (diff) | |
download | redis-5c78f876661497a8588eed48b5c04cb6848280f4.tar.gz |
RESTORE: reply with -BUSYKEY special error code.
The error when the target key is busy was a generic one, while it makes
sense to be able to distinguish between the target key busy error and
the others easily.
Diffstat (limited to 'src/redis.h')
-rw-r--r-- | src/redis.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.h b/src/redis.h index b234185b5..9c5507bbd 100644 --- a/src/redis.h +++ b/src/redis.h @@ -548,7 +548,7 @@ struct sharedObjectsStruct { *emptymultibulk, *wrongtypeerr, *nokeyerr, *syntaxerr, *sameobjecterr, *outofrangeerr, *noscripterr, *loadingerr, *slowscripterr, *bgsaveerr, *masterdownerr, *roslaveerr, *execaborterr, *noautherr, *noreplicaserr, - *oomerr, *plus, *messagebulk, *pmessagebulk, *subscribebulk, + *busykeyerr, *oomerr, *plus, *messagebulk, *pmessagebulk, *subscribebulk, *unsubscribebulk, *psubscribebulk, *punsubscribebulk, *del, *rpop, *lpop, *lpush, *emptyscan, *minstring, *maxstring, *select[REDIS_SHARED_SELECT_CMDS], |