| 348 | } |
| 349 | |
| 350 | const char* redis_command::result_error() const |
| 351 | { |
| 352 | const char* ptr = result_ ? result_->get_error() : ""; |
| 353 | if (ptr && *ptr) { |
| 354 | return ptr; |
| 355 | } |
| 356 | return last_serror(); |
| 357 | } |
| 358 | |
| 359 | const redis_result* redis_command::result_child(size_t i) const |
| 360 | { |