Skip to content

Commit

Permalink
--fix ZRemCmd (OpenAtomFoundation#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruipu-Chang authored Dec 14, 2023
1 parent 14a3e6d commit 26983da
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pika_zset.cc
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,6 @@ void ZRemCmd::Do(std::shared_ptr<Slot> slot) {
int32_t count = 0;
s_ = slot->db()->ZRem(key_, members_, &count);
if (s_.ok() || s_.IsNotFound()) {
AddSlotKey("z", key_, slot);
res_.AppendInteger(count);
} else {
res_.SetRes(CmdRes::kErrOther, s_.ToString());
Expand Down

0 comments on commit 26983da

Please sign in to comment.