Conversation
|
travis的setuptools有点问题,https://travis-ci.org/douban/libmc/jobs/385622435 。 |
420fb80 to
0a9bd6f
Compare
src/Client.cpp
Outdated
| case RET_INCOMPLETE_BUFFER_ERR: | ||
| return keywords::kINCOMPLETE_BUFFER_ERROR; | ||
| default: | ||
| return "ok"; |
There was a problem hiding this comment.
Add case RET_OK: and default return "unknown" ?
.travis.yml
Outdated
| install: | ||
| - if [[ $TEST_SUITE != "cppcheck" ]]; then pip install --upgrade pip setuptools; fi | ||
| # FIXME tmp install twice, because travis.ci encounter https://github.com/pypa/setuptools/issues/523#issuecomment-337482959 | ||
| - if [[ $TEST_SUITE != "cppcheck" ]]; then pip install --ignore-installed setuptools; fi |
There was a problem hiding this comment.
leave .travis.yml unchanged? not seeing an error like this now.
There was a problem hiding this comment.
yes, i'll revert it
0a9bd6f to
473d3fe
Compare
473d3fe to
24a55c5
Compare
|
@tclh123 updated |
|
There's a typo in commit messages |
so strict? should i fix it ? |
include/Client.h
Outdated
| std::vector<unsigned_result_t*> m_outUnsignedResultPtrs; | ||
| }; | ||
|
|
||
| const char* errCodeToString(err_code_t err); |
There was a problem hiding this comment.
maybe move errCodeToString to Common.h ?
src/c_client.cpp
Outdated
|
|
||
|
|
||
| using douban::mc::Client; | ||
| using douban::mc::errCodeToString; |
There was a problem hiding this comment.
@tclh123 rm this line seems also works。but do you know why?
There was a problem hiding this comment.
okay there is some "Client" usage in c_client.cpp。
It's quick to fix this. |
24a55c5 to
c27d7da
Compare
|
updated |
ChangeLog: - use pickle protocol version 2 (#52) - fix rvalue reference (#53) - Fix tests (#55) - golibmc_test: Fix fragile test case (#56) - Use connection pool in golibmc(again) (#57) - golibmc Quit ret err (#59) - cmake: Incorporate gtest in a standard way (#58) - Rename refactor (#60) - sync rapidjson/itoa.h upstream fix (#65) - split cppcheck (#67) - split FSM_GET_BYTES_CAS (#68) - Avoid noisy recv_err when broadcast quit (#73) - Try to support updating some servers without affecting others (#74) - make normalize_key cpdef & add warnings for unpickle unmarshal fail (#66) - fix fcntl usage when set socket nonblock (#69) - minor fix (#61) - add condition log macro (#77) - Define and use notWaitForRetryTimeout (#82) - upgrade travis to gcc 7 (#91) - add func errCodeToString (#79) - Introduce a reconnect mechanism in waitPoll (#88)
cc @everpcpc