Unverified Commit 1e25bdf7 authored by 小令童鞋's avatar 小令童鞋 Committed by GitHub
Browse files

fix redis crached by using eval with access to volatile keys (#10080)

This is a recent regression from the Redis Functions commits
parent d0949b7c
...@@ -413,7 +413,7 @@ void scriptCall(scriptRunCtx *run_ctx, robj* *argv, int argc, sds *err) { ...@@ -413,7 +413,7 @@ void scriptCall(scriptRunCtx *run_ctx, robj* *argv, int argc, sds *err) {
/* Returns the time when the script invocation started */ /* Returns the time when the script invocation started */
mstime_t scriptTimeSnapshot() { mstime_t scriptTimeSnapshot() {
serverAssert(!curr_run_ctx); serverAssert(curr_run_ctx);
return curr_run_ctx->snapshot_time; return curr_run_ctx->snapshot_time;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment