<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/redis.git/src/scripting.c, branch modules-replication</title>
<subtitle>github.com: antirez/redis.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/'/>
<entry>
<title>Fix lua ldb command log</title>
<updated>2017-07-24T11:24:06+00:00</updated>
<author>
<name>liangsijian</name>
<email>liangsijian@foxmail.com</email>
</author>
<published>2017-07-24T11:20:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=ffbbe5a720a723148ee364066f08e63528a57376'/>
<id>ffbbe5a720a723148ee364066f08e63528a57376</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix abort typo in Lua debugger help screen.</title>
<updated>2017-06-30T10:12:00+00:00</updated>
<author>
<name>antirez</name>
<email>antirez@gmail.com</email>
</author>
<published>2017-06-30T10:12:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=7bad78bd2f533844bfb6f79e8a3c9507079abc3a'/>
<id>7bad78bd2f533844bfb6f79e8a3c9507079abc3a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Set lua-time-limit default value at safe place.</title>
<updated>2017-04-11T14:56:00+00:00</updated>
<author>
<name>antirez</name>
<email>antirez@gmail.com</email>
</author>
<published>2017-04-11T14:56:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=4a850be4dc0709d66209e440315ca314a785e964'/>
<id>4a850be4dc0709d66209e440315ca314a785e964</id>
<content type='text'>
Otherwise, as it was, it will overwrite whatever the user set.

Close #3703.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise, as it was, it will overwrite whatever the user set.

Close #3703.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #732 from evilpacket/remove_dofile</title>
<updated>2016-05-08T16:04:41+00:00</updated>
<author>
<name>Salvatore Sanfilippo</name>
<email>antirez@gmail.com</email>
</author>
<published>2016-05-08T16:04:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=b44ad302d2337b45a02b6a3e4920089a48292c6d'/>
<id>b44ad302d2337b45a02b6a3e4920089a48292c6d</id>
<content type='text'>
Removes dofile() from Lua</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes dofile() from Lua</pre>
</div>
</content>
</entry>
<entry>
<title>Cluster: don't check scripts key slots during AOF loading.</title>
<updated>2016-05-05T21:37:08+00:00</updated>
<author>
<name>antirez</name>
<email>antirez@gmail.com</email>
</author>
<published>2016-05-05T21:37:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=2205c465ca5e289d1024a8a88bde4cdc75720369'/>
<id>2205c465ca5e289d1024a8a88bde4cdc75720369</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2956 from pkulchenko/global-protection-msg-typo</title>
<updated>2016-05-05T15:26:35+00:00</updated>
<author>
<name>Salvatore Sanfilippo</name>
<email>antirez@gmail.com</email>
</author>
<published>2016-05-05T15:26:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=f0fcc36ce15554a54aa5d629c2a76ec6e4e3e716'/>
<id>f0fcc36ce15554a54aa5d629c2a76ec6e4e3e716</id>
<content type='text'>
Update global protection error message</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update global protection error message</pre>
</div>
</content>
</entry>
<entry>
<title>Fix INFO commandstats reporting when argv is rewritten.</title>
<updated>2016-03-02T07:56:50+00:00</updated>
<author>
<name>antirez</name>
<email>antirez@gmail.com</email>
</author>
<published>2016-03-02T07:51:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=e85d6f22cf2ddb2a4a5de80b211802bdacbf4a3b'/>
<id>e85d6f22cf2ddb2a4a5de80b211802bdacbf4a3b</id>
<content type='text'>
We want to report the original command in the stats, for example GEOADD,
even when what is actually executed is the ZADD implementation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We want to report the original command in the stats, for example GEOADD,
even when what is actually executed is the ZADD implementation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Scripting: handle trailing comments.</title>
<updated>2016-01-08T14:44:21+00:00</updated>
<author>
<name>antirez</name>
<email>antirez@gmail.com</email>
</author>
<published>2016-01-08T14:42:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=f43c794b0b43b9134385a487e96bcd791bb0472a'/>
<id>f43c794b0b43b9134385a487e96bcd791bb0472a</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Lua debugger: fix crash printing nested or deep objects.</title>
<updated>2016-01-08T08:14:13+00:00</updated>
<author>
<name>antirez</name>
<email>antirez@gmail.com</email>
</author>
<published>2016-01-08T08:14:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=a75aa4bf92013445f600297d500fe1852a8532af'/>
<id>a75aa4bf92013445f600297d500fe1852a8532af</id>
<content type='text'>
Example of offending code:

&gt; script debug yes
OK
&gt; eval "local a = {1} a[1] = a\nprint(a)" 0
1) * Stopped at 1, stop reason = step over
2) -&gt; 1   local a = {1} a[1] = a
&gt; next
1) * Stopped at 2, stop reason = step over
2) -&gt; 2   print(a)
&gt; print

... server crash ...

Close #2955.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Example of offending code:

&gt; script debug yes
OK
&gt; eval "local a = {1} a[1] = a\nprint(a)" 0
1) * Stopped at 1, stop reason = step over
2) -&gt; 1   local a = {1} a[1] = a
&gt; next
1) * Stopped at 2, stop reason = step over
2) -&gt; 2   print(a)
&gt; print

... server crash ...

Close #2955.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2954 from pkulchenko/debug-table-pretty-printing</title>
<updated>2015-12-22T08:00:36+00:00</updated>
<author>
<name>Salvatore Sanfilippo</name>
<email>antirez@gmail.com</email>
</author>
<published>2015-12-22T08:00:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/redis.git/commit/?id=075ea1646f9e23ec08495fb43d169055777368cf'/>
<id>075ea1646f9e23ec08495fb43d169055777368cf</id>
<content type='text'>
Update pretty printing during debugging to generate valid Lua code for tables</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update pretty printing during debugging to generate valid Lua code for tables</pre>
</div>
</content>
</entry>
</feed>
