mirror of https://mirror.osredm.com/root/redis.git
Streams: fix error description for XADD when specified ID is small.
This commit is contained in:
parent
0a6780e560
commit
267f7f2c97
|
@ -966,7 +966,7 @@ void xaddCommand(client *c) {
|
|||
&id, id_given ? &id : NULL)
|
||||
== C_ERR)
|
||||
{
|
||||
addReplyError(c,"The ID specified in XADD is smaller than the "
|
||||
addReplyError(c,"The ID specified in XADD is equal or smaller than the "
|
||||
"target stream top item");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue