-
Notifications
You must be signed in to change notification settings - Fork 16
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
INTERNAL: Remove unnecessary lines in the version check of get API #335
Conversation
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.
리뷰 μλ£
libmemcached/get.cc
Outdated
@@ -56,49 +56,48 @@ | |||
|
|||
static inline bool mget_command_is_supported(memcached_st *ptr, memcached_server_write_instance_st instance) | |||
{ | |||
if (instance->major_version != UINT8_MAX && instance->minor_version != UINT8_MAX) |
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.
쑰건μ λ°λλ‘ νμΈμ.
} | ||
else | ||
} |
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.
μλμ κ°μ΄ κ΄νΈλ₯Ό μ κ±°ν©μλ€.
/* >= 0.9.0-E */
if (instance->major_version > 0 || (instance->major_version == 0 && instance->minor_version >= 9))
return 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.
리뷰 μλ£
libmemcached/get.cc
Outdated
@@ -56,50 +56,43 @@ | |||
|
|||
static inline bool mget_command_is_supported(memcached_st *ptr, memcached_server_write_instance_st instance) | |||
{ | |||
if (instance->major_version == UINT8_MAX && instance->minor_version == UINT8_MAX) |
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.
OR 쑰건 μ¬μ©
{ | ||
return true; | ||
} | ||
return 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.
μμ λμμ΅λλ€.
π Related Issue
β¨οΈ What I did