mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
@ -691,6 +691,9 @@ void streamIteratorRemoveEntry(streamIterator *si, streamID *current) {
|
|||||||
aux = lpGetInteger(p);
|
aux = lpGetInteger(p);
|
||||||
lp = lpReplaceInteger(lp,&p,aux+1);
|
lp = lpReplaceInteger(lp,&p,aux+1);
|
||||||
|
|
||||||
|
/* Update the number of entries counter. */
|
||||||
|
si->stream->length--;
|
||||||
|
|
||||||
/* Re-seek the iterator to fix the now messed up state. */
|
/* Re-seek the iterator to fix the now messed up state. */
|
||||||
streamID start, end;
|
streamID start, end;
|
||||||
if (si->rev) {
|
if (si->rev) {
|
||||||
|
Reference in New Issue
Block a user