- 30 Jun, 2017 1 commit
-
-
antirez authored
-
- 11 Apr, 2017 1 commit
-
-
antirez authored
Otherwise, as it was, it will overwrite whatever the user set. Close #3703.
-
- 05 May, 2016 1 commit
-
-
antirez authored
-
- 02 Mar, 2016 1 commit
-
-
antirez authored
We want to report the original command in the stats, for example GEOADD, even when what is actually executed is the ZADD implementation.
-
- 08 Jan, 2016 2 commits
-
-
antirez authored
This fix, provided by Paul Kulchenko (@pkulchenko), allows the Lua scripting engine to evaluate statements with a trailing comment like the following one: EVAL "print() --comment" 0 Lua can't parse the above if the string does not end with a newline, so now a final newline is always added automatically. This does not change the SHA1 of scripts since the SHA1 is computed on the body we pass to EVAL, without the other code we add to register the function. Close #2951.
-
antirez authored
Example of offending code: > script debug yes OK > eval "local a = {1} a[1] = a\nprint(a)" 0 1) * Stopped at 1, stop reason = step over 2) -> 1 local a = {1} a[1] = a > next 1) * Stopped at 2, stop reason = step over 2) -> 2 print(a) > print ... server crash ... Close #2955.
-
- 16 Dec, 2015 4 commits
-
-
antirez authored
-
Paul Kulchenko authored
-
Paul Kulchenko authored
-
Paul Kulchenko authored
-
- 27 Nov, 2015 1 commit
-
-
Itamar Haber authored
Fixes #2898
-
- 18 Nov, 2015 1 commit
-
-
antirez authored
-
- 17 Nov, 2015 28 commits
-
-
antirez authored
Thanks to Itamar Haber for bug report and test case to reproduce.
-
antirez authored
Let the user control the replies truncation.
-
antirez authored
-
antirez authored
-
antirez authored
Now it lists code around the current position by default. Can list any other part using other arguments, but a new "whole" command was added in order to show the whole source code easily.
-
antirez authored
"async" -> "sync". Thanks to Itamar Haber for reporting.
-
antirez authored
Thanks to Itamar Haber for reporting.
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
When the debugger exits now it produces an <endsession> tag that informs redis-cli (or other debugging clients) that the session terminated. This way the client knows there is yet another reply to read (the one of the EVAL script itself), and can switch to non-debugging mode ASAP.
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
It's handly to just eval "5+5" without the return and see it printed on the screen as result. However prepending "return" does not always result into valid Lua code. So what we do is to exploit a common Lua community trick of trying to compile with return prepended, and if compilation fails then it's not an expression that can be returned, so we try again without prepending "return". Works great apparently.
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-