Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support rdb loading and container utils with QList. #4109

Merged
merged 1 commit into from
Nov 11, 2024
Merged

Conversation

romange
Copy link
Collaborator

@romange romange commented Nov 11, 2024

generic_family_test and rdb_test pass with qlist enabled.

@romange romange requested a review from BorysTheDev November 11, 2024 06:20
generic_family_test and rdb_test pass with qlist enabled.

Signed-off-by: Roman Gershman <[email protected]>
Comment on lines +169 to +173
if (entry.value) {
success = func(ContainerEntry{reinterpret_cast<char*>(entry.value), entry.sz});
} else {
success = func(ContainerEntry{entry.longval});
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto e = entry.value ? ContainerEntry{reinterpret_cast<char*>(entry.value), entry.sz} : ContainerEntry{entry.longval};
success = func(e);

Comment on lines +183 to +188
if (entry.is_int()) {
success = func(ContainerEntry{entry.ival()});
} else {
success = func(ContainerEntry{entry.view().data(), entry.view().size()});
}
return success;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

auto e = entry.is_int() ? ContainerEntry{entry.ival()} : ContainerEntry{entry.view().data(), entry.view().size()};
return func(e);

@romange romange merged commit 79aa5d4 into main Nov 11, 2024
12 checks passed
@romange romange deleted the QL1 branch November 11, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants