| 71 | } |
| 72 | |
| 73 | bool redis_script::eval_number64(const char* script, |
| 74 | const std::vector<string>& keys, |
| 75 | const std::vector<string>& args, |
| 76 | long long int& out) |
| 77 | { |
| 78 | const redis_result* result = eval_cmd("EVAL", script, keys, args); |
| 79 | if (result == NULL) { |
| 80 | return false; |
| 81 | } |
| 82 | |
| 83 | bool success; |
| 84 | out = result->get_integer64(&success); |
| 85 | return success; |
| 86 | } |
| 87 | |
| 88 | int redis_script::eval_string(const char* script, |
| 89 | const std::vector<string>& keys, |
nothing calls this directly
no test coverage detected