diff --git a/src/commands/cmd_hll.cc b/src/commands/cmd_hll.cc index 5ea27abca08..0dba0c5f5fd 100644 --- a/src/commands/cmd_hll.cc +++ b/src/commands/cmd_hll.cc @@ -59,7 +59,7 @@ class CommandPfCount final : public Commander { uint64_t ret{}; rocksdb::Status s; if (args_.size() > 1) { - std::vector keys(args_.begin() + 1, args_.end()); + std::vector keys(args_.begin(), args_.end()); s = hll.CountMultiple(keys, &ret); } else { s = hll.Count(args_[0], &ret);