| 306 | } |
| 307 | |
| 308 | bool RedisClient::ReWriteConfig() |
| 309 | { |
| 310 | redisReply* reply = Command("CONFIG REWRITE"); |
| 311 | if (!reply) return false; |
| 312 | |
| 313 | if (reply->type != REDIS_REPLY_STATUS) |
| 314 | { |
| 315 | freeReplyObject(reply); |
| 316 | return false; |
| 317 | } |
| 318 | freeReplyObject(reply); |
| 319 | return true; |
| 320 | } |
| 321 | |
| 322 | bool RedisClient::GetData( const std::string& key, std::string& type, RedisResult& results ) |
| 323 | { |
nothing calls this directly
no test coverage detected