+0.28
+ * Fixed bug in init sructure (reapplied)
+ * Fixed bug in get/set by key (nikkhils@gmail.com)
+
0.27 Sun Mar 29 22:33:01 PDT 2009
* Added new UDP fire-forget mode.
* Reworked performance for mget() to better make use of async protocol
memcached_return rc= MEMCACHED_NOTFOUND;
char *get_command= "get ";
uint8_t get_command_length= 4;
- unsigned int master_server_key= 0;
+ unsigned int master_server_key= -1; /* 0 is a valid server id! */
if (ptr->flags & MEM_USE_UDP)
return MEMCACHED_NOT_SUPPORTED;
{
unsigned int server_key;
- if (master_server_key)
+ if (master_server_key != -1)
server_key= master_server_key;
else
server_key= memcached_generate_hash(ptr, keys[x], key_length[x]);