History log of /redis-3.2.3/src/scripting.c (Results 1 – 25 of 164)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 8.0-m02, 6.2.16, 7.2.6, 7.4.1, 8.0-m01, 7.4.0, 7.4-rc2, 7.4-rc1, 7.2.5, 7.2.4, 7.0.15, 7.2.3, 7.2.2, 7.0.14, 6.2.14, 6.2.15, 7.2.1, 7.0.13, 7.2.0, 7.2-rc3, 7.0.12, 6.2.13, 6.0.20, 7.2-rc2, 6.0.19, 6.2.12, 7.0.11, 7.2-rc1, 7.0.10, 7.0.9, 6.2.11, 6.0.18, 6.2.10, 6.0.17, 6.2.9, 7.0.8, 7.0.7, 7.0.6, 6.2.8, 7.0.5, 7.0.4, 7.0.3, 7.0.2, 7.0.1, 7.0.0, 6.2.7, 7.0-rc3, 7.0-rc2, 7.0-rc1, 6.2.6, 6.0.16, 5.0.14, 5.0.13, 6.0.15, 6.2.5, 6.0.14, 6.2.4, 6.2.3, 6.0.13, 6.2.2, 6.2.1, 6.0.12, 5.0.12, 6.0.11, 6.2.0, 5.0.11, 6.2-rc3, 6.0.10, 6.2-rc2, 6.2-rc1, 6.0.9, 5.0.10, 6.0.8, 6.0.7, 6.0.6, 6.0.5, 6.0.4, 6.0.3, 6.0.2, 6.0.1, 6.0.0, 5.0.9, 6.0-rc4, 6.0-rc3, 5.0.8, 6.0-rc2, 6.0-rc1, 5.0.7, 5.0.6, 5.0.5, 3.2.13, 4.0.14, 5.0.4, 4.0.13, 5.0.3, 4.0.12, 5.0.2, 5.0.1, 5.0.0, 5.0-rc6, 5.0-rc5, 4.0.11, 5.0-rc4, 5.0-rc3, 5.0-rc2, 4.0.10, 3.2.12, 5.0-rc1, 4.0.9, 4.0.8, 4.0.7, 4.0.6, 4.0.5, 4.0.4, 4.0.3, 3.2.11, 4.0.2, 3.2.10, 4.0.1, 4.0.0, 3.2.9, 4.0-rc3, 3.2.8, 3.2.7, 3.2.6, 4.0-rc2, 4.0-rc1, 3.2.5, 3.2.4, 3.2.3, 3.2.2, 3.2.1, 3.2.0, 3.2.0-rc3, 3.0.7, 3.2.0-rc2, 3.2-rc1, 3.0.6, 2.8.24, 3.0.5, 2.8.23, 2.8.22, 3.0.4, 3.0.3, 3.0.2, 2.8.21, 2.8.20, 3.0.1, 3.0.0, 3.0.0-rc6, 3.0.0-rc5, 3.0.0-rc4, 3.0.0-rc3, 3.0.0-rc2, 2.8.19, 2.8.18, 3.0.0-rc1, 2.8.17, 2.8.16, 2.8.15, 2.8.14, 3.0.0-beta8, 2.8.13, 3.0.0-beta7, 2.8.12, 2.8.11, 3.0.0-beta6, 2.8.10, 3.0.0-beta5, 3.0.0-beta4, 3.0.0-beta3, 2.8.9, 2.8.8, 3.0.0-beta2, 2.8.7, 2.8.6, 3.0.0-beta1, 2.8.5, 2.8.4, 2.6.17, 2.8.3, 2.8.2, 2.8.1, 2.8.0, 2.8.0-rc6, 2.8.0-rc5, 2.8.0-rc4, 2.6.16, 2.6.15, 2.8.0-rc3, 2.8.0-rc2, 2.8.0-rc1, 2.6.14-2, 2.6.14-1, 2.6.14, 2.6.13, 2.6.12, 2.6.10-3, 2.6.10-2, 2.6.11, 2.6.10-1, 2.6.10, 2.6.9-1, 2.6.9, 2.6.8-1, 2.6.8, 2.6.7-1, 2.6.7, 2.6.6, 2.4.18, 2.6.5, 2.6.4, 2.6.3, 2.6.2
# 95def3ae 26-Oct-2012 Adam Baldwin <[email protected]>

Removed dofile() from Lua


# 746e1beb 05-May-2016 antirez <[email protected]>

Cluster: don't check scripts key slots during AOF loading.


# ba9154d7 02-Mar-2016 antirez <[email protected]>

Fix INFO commandstats reporting when argv is rewritten.

We want to report the original command in the stats, for example GEOADD,
even when what is actually executed is the ZADD implementation.


# 5fd61c95 08-Jan-2016 antirez <[email protected]>

Scripting: handle trailing comments.

This fix, provided by Paul Kulchenko (@pkulchenko), allows the Lua
scripting engine to evaluate statements with a trailing comment like the
following one:

E

Scripting: handle trailing comments.

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.

show more ...


# 8cc1a49e 08-Jan-2016 antirez <[email protected]>

Lua debugger: fix crash printing nested or deep objects.

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) -

Lua debugger: fix crash printing nested or deep objects.

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.

show more ...


# db1df454 16-Dec-2015 Paul Kulchenko <[email protected]>

Update pretty printing in debugging to generate valid Lua code for userdata-like types.


# c428066a 16-Dec-2015 Paul Kulchenko <[email protected]>

Update pretty printing in debugging to generate valid Lua code for tables.


# ef92f90d 16-Dec-2015 antirez <[email protected]>

Suppress harmless warnings.


# 47daa9b0 27-Nov-2015 Itamar Haber <[email protected]>

Revert Lua's `redis.LOG_<level>` to original

Fixes #2898


# 00eb8a63 18-Nov-2015 antirez <[email protected]>

Lua debugger: infinite loop detection.


# cd840bf0 17-Nov-2015 antirez <[email protected]>

Lua debugger: fix trace command infinite loop.

Thanks to Itamar Haber for bug report and test case to reproduce.


# 79c6e689 16-Nov-2015 antirez <[email protected]>

Lua debugger: maxlen command implemented.

Let the user control the replies truncation.


# 714dc0c4 16-Nov-2015 antirez <[email protected]>

Lua debugger: trace command implemented.


# 971571ba 16-Nov-2015 antirez <[email protected]>

Lua debugger: print without args show all local vars.


# 185b2dcb 16-Nov-2015 antirez <[email protected]>

Lua debugger: default behavior of "list" command changed.

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

Lua debugger: default behavior of "list" command changed.

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.

show more ...


# bcc49136 14-Nov-2015 antirez <[email protected]>

Lua debugging: fix error message for SCRIPT DEBUG.

"async" -> "sync".

Thanks to Itamar Haber for reporting.


# c62b66fd 14-Nov-2015 antirez <[email protected]>

Lua debugger: reply +OK to SCRIPT DEBUG no.

Thanks to Itamar Haber for reporting.


# c912df9a 14-Nov-2015 antirez <[email protected]>

Lua debugger: call wait3() if there are pending forked debugging sessions.


# e132b20f 13-Nov-2015 antirez <[email protected]>

Lua debugger: abort implemented.


# 4a00bccf 13-Nov-2015 antirez <[email protected]>

Lua debugger: ldbSendLogs() memory leak fixed.


# 75788d6a 13-Nov-2015 antirez <[email protected]>

Lua debugger: better support for synchronous mode.


# cdb92412 13-Nov-2015 antirez <[email protected]>

Lua debugger: handle forked sessions children during shutdown.


# d530cbd1 12-Nov-2015 antirez <[email protected]>

Lua debugger: fix help typo, beark -> break.


# 629acd61 12-Nov-2015 antirez <[email protected]>

Lua debugger: clear end of session protocol.

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

Lua debugger: clear end of session protocol.

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.

show more ...


# 8f8c6b3b 12-Nov-2015 antirez <[email protected]>

Lua debugger: redis.debug() implemented.


1234567