Changeset 756
- Timestamp:
- 03/18/08 17:21:21 (7 months ago)
- Files:
-
- branches/binary/server/memcached.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/binary/server/memcached.c
r755 r756 999 999 } 1000 1000 1001 /* XXX: Not sure what to do with these yet1002 if (settings.managed) {1003 int bucket = c->bucket;1004 if (bucket == -1) {1005 out_string(c, "CLIENT_ERROR no BG data in managed mode");1006 return;1007 }1008 c->bucket = -1;1009 if (buckets[bucket] != c->gen) {1010 out_string(c, "ERROR_NOT_OWNER");1011 return;1012 }1013 }1014 */1015 1016 1001 it = item_get(key, nkey); 1017 1002 if (it) { … … 1199 1184 } 1200 1185 1201 /* Not sure what to do with this.1202 if (settings.managed) {1203 int bucket = c->bucket;1204 if (bucket == -1) {1205 out_string(c, "CLIENT_ERROR no BG data in managed mode");1206 return;1207 }1208 c->bucket = -1;1209 if (buckets[bucket] != c->gen) {1210 out_string(c, "ERROR_NOT_OWNER");1211 return;1212 }1213 }1214 */1215 1216 1186 it = item_alloc(key, nkey, flags, realtime(exptime), vlen+2); 1217 1187 … … 1261 1231 1262 1232 assert(c != NULL); 1263 1264 /* XXX: I don't know what to do with this yet1265 if (settings.managed) {1266 int bucket = c->bucket;1267 if (bucket == -1) {1268 out_string(c, "CLIENT_ERROR no BG data in managed mode");1269 return;1270 }1271 c->bucket = -1;1272 if (buckets[bucket] != c->gen) {1273 out_string(c, "ERROR_NOT_OWNER");1274 return;1275 }1276 }1277 */1278 1233 1279 1234 exptime = ntohl(*((int*)(c->rbuf)));
