-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix:Added the redis-copy tool #2060
Conversation
tools/redis-copy/monitor.cc
Outdated
|
||
// Parse reply content with status machine | ||
static bool reply_parse(char* src, std::size_t len, std::vector<const char *> &argv, std::vector<size_t> &argv_len) { | ||
if (src == NULL || len == 0) return -1; |
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.
done
tools/redis-copy/monitor.cc
Outdated
} | ||
|
||
static bool option_parse(const std::string &str, std::string &host, std::string &port, std::string &auth) { | ||
if (str.empty()) return false; |
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.
done
f82e45c
into
OpenAtomFoundation:unstable
Co-authored-by: wuxianrong <wuxianrong@360.cn>
Co-authored-by: wuxianrong <wuxianrong@360.cn>
fixed: #2044