Skip to content

Commit

Permalink
fix stupid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mapleFU committed Jul 31, 2024
1 parent e02c64c commit d44dd58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/cmd_hll.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class CommandPfCount final : public Commander {
uint64_t ret{};
rocksdb::Status s;
if (args_.size() > 1) {
std::vector<Slice> keys(args_.begin() + 1, args_.end());
std::vector<Slice> keys(args_.begin(), args_.end());
s = hll.CountMultiple(keys, &ret);
} else {
s = hll.Count(args_[0], &ret);
Expand Down

0 comments on commit d44dd58

Please sign in to comment.