| 285 | } |
| 286 | |
| 287 | bool redis_string::getset(const char* key, const char* value, string& buf) |
| 288 | { |
| 289 | return getset(key, strlen(key), value, strlen(value), buf); |
| 290 | } |
| 291 | |
| 292 | bool redis_string::getset(const char* key, size_t key_len, |
| 293 | const char* value, size_t value_len, string& buf) |