summaryrefslogtreecommitdiff
path: root/src/redis.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-05-12 10:01:59 +0200
committerantirez <antirez@gmail.com>2014-05-12 10:01:59 +0200
commit5c78f876661497a8588eed48b5c04cb6848280f4 (patch)
treee983791d6d0ba50ac548da87878de99fd2cd8c97 /src/redis.h
parent2a48bd4a372abedfb229f8ac4e607d022ed31bdd (diff)
downloadredis-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.h2
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],