Wrapper for EVAL / EVALSHA that enables debugging, and makes sure * that when EVAL returns, whatever happened, the session is ended. */
| 2057 | /* Wrapper for EVAL / EVALSHA that enables debugging, and makes sure |
| 2058 | * that when EVAL returns, whatever happened, the session is ended. */ |
| 2059 | void evalGenericCommandWithDebugging(client *c, int evalsha) { |
| 2060 | if (ldbStartSession(c)) { |
| 2061 | evalGenericCommand(c,evalsha); |
| 2062 | ldbEndSession(c); |
| 2063 | } else { |
| 2064 | ldbDisable(c); |
| 2065 | } |
| 2066 | } |
| 2067 | |
| 2068 | /* Return a pointer to ldb.src source code line, considering line to be |
| 2069 | * one-based, and returning a special string for out of range lines. */ |
no test coverage detected