mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 02:15:45 +02:00
feat: add fieldttl command that returns the ttl of the member (#2026)
Currently implemented only for saddex. Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
6c1e9fcefc
commit
c6946d561c
7 changed files with 110 additions and 50 deletions
|
@ -57,6 +57,7 @@ void DenseSet::IteratorBase::Advance() {
|
|||
++curr_list_;
|
||||
if (curr_list_ == owner_->entries_.end()) {
|
||||
curr_entry_ = nullptr;
|
||||
owner_ = nullptr;
|
||||
return;
|
||||
}
|
||||
owner_->ExpireIfNeeded(nullptr, &(*curr_list_));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue