| 129 | } |
| 130 | |
| 131 | bool redis_script::evalsha_number64(const char* script, |
| 132 | const std::vector<string>& keys, |
| 133 | const std::vector<string>& args, |
| 134 | long long int& out) |
| 135 | { |
| 136 | const redis_result* result = eval_cmd("EVALSHA", script, keys, args); |
| 137 | if (result == NULL) { |
| 138 | return false; |
| 139 | } |
| 140 | |
| 141 | bool success; |
| 142 | out = result->get_integer64(&success); |
| 143 | return success; |
| 144 | } |
| 145 | |
| 146 | int redis_script::evalsha_string(const char* script, |
| 147 | const std::vector<string>& keys, |
nothing calls this directly
no test coverage detected