mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 08:38:27 -05:00
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)
|
&id, id_given ? &id : NULL)
|
||||||
== C_ERR)
|
== 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");
|
"target stream top item");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user