~yshurik/libmemcached/libmemcached-win

« back to all changes in this revision

Viewing changes to libmemcached/delete.cc

  • Committer: Continuous Integration
  • Date: 2013-04-03 13:16:24 UTC
  • mfrom: (1100.1.1 libmemcached-1.2)
  • Revision ID: ci@tangent.org-20130403131624-j59dhv5z5l0lsdld
Merge lp:~tangent-org/libmemcached/1.2-build/ Build: jenkins-Libmemcached-250

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
  return memcached_delete_by_key(shell, key, key_length, key, key_length, expiration);
45
45
}
46
46
 
47
 
static inline memcached_return_t ascii_delete(org::libmemcached::Instance* instance,
 
47
static inline memcached_return_t ascii_delete(memcached_instance_st* instance,
48
48
                                              uint32_t ,
49
49
                                              const char *key,
50
50
                                              const size_t key_length,
65
65
  return memcached_vdo(instance, vector, 6, is_buffering ? false : true);
66
66
}
67
67
 
68
 
static inline memcached_return_t binary_delete(org::libmemcached::Instance* instance,
 
68
static inline memcached_return_t binary_delete(memcached_instance_st* instance,
69
69
                                               uint32_t server_key,
70
70
                                               const char *key,
71
71
                                               const size_t key_length,
118
118
        server_key= 0;
119
119
      }
120
120
 
121
 
      org::libmemcached::Instance* replica= memcached_instance_fetch(instance->root, server_key);
 
121
      memcached_instance_st* replica= memcached_instance_fetch(instance->root, server_key);
122
122
 
123
123
      if (memcached_fatal(memcached_vdo(replica, vector, 4, should_flush)))
124
124
      {
161
161
  }
162
162
 
163
163
  uint32_t server_key= memcached_generate_hash_with_redistribution(memc, group_key, group_key_length);
164
 
  org::libmemcached::Instance* instance= memcached_instance_fetch(memc, server_key);
 
164
  memcached_instance_st* instance= memcached_instance_fetch(memc, server_key);
165
165
  
166
166
  bool is_buffering= memcached_is_buffering(instance->root);
167
167
  bool is_replying= memcached_is_replying(instance->root);