libmemcached return value wrong on membase1.7.1 with interface memcached_get
It is strange that some time i get a MEMCACHED_SUCCESS but the return value is NULL when calling the memcached_get function .
The code just like:
The rc is MEMCACHED_SUCCESS but the valueGet is NULL.
But in fact the actual value of the key is not NULL(from telnet i can get it), and it is a number added by memcached_set and maybe incr by the memcached_incr function.
The membase version is 1.6.5 and the libmemcached version is 0.4x.
And sometimes , the functions memcached_get will return MEMCACHED_STORED. It seems that the return value is equal to MEMCACHED_SUCCESS on this interface , right ?
And who knows the range of the memcached_incr on a key ?The memcached is a long long , but the membase ?