| 235 | } |
| 236 | |
| 237 | bool RedisClient::SelectDB( int dbindex ) |
| 238 | { |
| 239 | redisReply* reply = Command("SELECT %d", dbindex); |
| 240 | if (!reply) return false; |
| 241 | if (reply->type != REDIS_REPLY_STATUS) |
| 242 | { |
| 243 | freeReplyObject(reply); |
| 244 | return false; |
| 245 | } |
| 246 | freeReplyObject(reply); |
| 247 | return true; |
| 248 | } |
| 249 | |
| 250 | long long RedisClient::DbSize() |
| 251 | { |
nothing calls this directly
no test coverage detected