| 586 | } |
| 587 | |
| 588 | int redis_command::get_string(string& buf) |
| 589 | { |
| 590 | const redis_result* result = run(); |
| 591 | if (result == NULL || result->get_type() != REDIS_RESULT_STRING) { |
| 592 | logger_result(result); |
| 593 | return -1; |
| 594 | } |
| 595 | return result->argv_to_string(buf); |
| 596 | } |
| 597 | |
| 598 | int redis_command::get_string(string* buf) |
| 599 | { |
nothing calls this directly
no test coverage detected