-
Notifications
You must be signed in to change notification settings - Fork 876
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: cleanup of redis implementation of sets/hashmaps #2605
Conversation
fe646ce
to
f6c7522
Compare
@@ -1627,7 +1493,7 @@ bool SetFamily::ConvertToStrSet(const intset* is, size_t expected_len, robj* des | |||
char buf[32]; | |||
int ii = 0; | |||
|
|||
if (GetFlag(FLAGS_use_set2)) { | |||
if (true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise diffs become annoying due to indentation shifts.
|
||
if (IsDenseEncoding(*set)) { | ||
if (true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here?
LOG(ERROR) << "OOM in dictTryExpand " << len; | ||
ec_ = RdbError(errc::out_of_memory); | ||
return; | ||
} | ||
|
||
if (use_set2) { | ||
if (true) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and in other places as well :)
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
f6c7522
to
e48ea94
Compare
…2605) Signed-off-by: Roman Gershman <roman@dragonflydb.io>
No description provided.