| 186 | } |
| 187 | |
| 188 | size_t redis_result::get_length() const |
| 189 | { |
| 190 | if (lens_ == NULL) { |
| 191 | return 0; |
| 192 | } |
| 193 | |
| 194 | size_t len = 0; |
| 195 | for (size_t i = 0; i < idx_; i++) { |
| 196 | len += lens_[i]; |
| 197 | } |
| 198 | return len; |
| 199 | } |
| 200 | |
| 201 | int redis_result::argv_to_string(string& buf, bool clear_auto /* = true */) const |
| 202 | { |
no outgoing calls
no test coverage detected