projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Update for release.
[awesomized/libmemcached]
/
libmemcached
/
get.cc
diff --git
a/libmemcached/get.cc
b/libmemcached/get.cc
index 0f151e8d01b4e6e4338ee05a9c4e9b6290c95d49..1f7e775c3cc57a258eb47d554b263782bf604e26 100644
(file)
--- a/
libmemcached/get.cc
+++ b/
libmemcached/get.cc
@@
-244,7
+244,7
@@
static memcached_return_t __mget_by_key_real(memcached_st *ptr,
*/
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
*/
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
-
org::libmemcached::Instance
* instance= memcached_instance_fetch(ptr, x);
+
memcached_instance_st
* instance= memcached_instance_fetch(ptr, x);
if (instance->response_count())
{
if (instance->response_count())
{
@@
-293,7
+293,7
@@
static memcached_return_t __mget_by_key_real(memcached_st *ptr,
server_key= memcached_generate_hash_with_redistribution(ptr, keys[x], key_length[x]);
}
server_key= memcached_generate_hash_with_redistribution(ptr, keys[x], key_length[x]);
}
-
org::libmemcached::Instance
* instance= memcached_instance_fetch(ptr, server_key);
+
memcached_instance_st
* instance= memcached_instance_fetch(ptr, server_key);
libmemcached_io_vector_st vector[]=
{
libmemcached_io_vector_st vector[]=
{
@@
-354,7
+354,7
@@
static memcached_return_t __mget_by_key_real(memcached_st *ptr,
bool success_happened= false;
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
bool success_happened= false;
for (uint32_t x= 0; x < memcached_server_count(ptr); x++)
{
-
org::libmemcached::Instance
* instance= memcached_instance_fetch(ptr, x);
+
memcached_instance_st
* instance= memcached_instance_fetch(ptr, x);
if (instance->response_count())
{
if (instance->response_count())
{
@@
-480,7
+480,7
@@
static memcached_return_t simple_binary_mget(memcached_st *ptr,
server_key= memcached_generate_hash_with_redistribution(ptr, keys[x], key_length[x]);
}
server_key= memcached_generate_hash_with_redistribution(ptr, keys[x], key_length[x]);
}
-
org::libmemcached::Instance
* instance= memcached_instance_fetch(ptr, server_key);
+
memcached_instance_st
* instance= memcached_instance_fetch(ptr, server_key);
if (instance->response_count() == 0)
{
if (instance->response_count() == 0)
{
@@
-553,7
+553,7
@@
static memcached_return_t simple_binary_mget(memcached_st *ptr,
for (uint32_t x= 0; x < memcached_server_count(ptr); ++x)
{
for (uint32_t x= 0; x < memcached_server_count(ptr); ++x)
{
-
org::libmemcached::Instance
* instance= memcached_instance_fetch(ptr, x);
+
memcached_instance_st
* instance= memcached_instance_fetch(ptr, x);
if (instance->response_count())
{
if (instance->response_count())
{
@@
-618,7
+618,7
@@
static memcached_return_t replication_binary_mget(memcached_st *ptr,
continue;
}
continue;
}
-
org::libmemcached::Instance
* instance= memcached_instance_fetch(ptr, server);
+
memcached_instance_st
* instance= memcached_instance_fetch(ptr, server);
if (instance->response_count() == 0)
{
if (instance->response_count() == 0)
{