Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
1e25bdf7
Unverified
Commit
1e25bdf7
authored
Jan 11, 2022
by
小令童鞋
Committed by
GitHub
Jan 11, 2022
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/script.c
View file @
1e25bdf7
...
...
@@ -413,7 +413,7 @@ void scriptCall(scriptRunCtx *run_ctx, robj* *argv, int argc, sds *err) {
/* Returns the time when the script invocation started */
mstime_t
scriptTimeSnapshot
()
{
serverAssert
(
!
curr_run_ctx
);
serverAssert
(
curr_run_ctx
);
return
curr_run_ctx
->
snapshot_time
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment