projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b72272
)
function to access to Redis command from Lua renamed from r() to redis()
author
antirez
<antirez@gmail.com>
Sun, 1 May 2011 10:49:02 +0000
(12:49 +0200)
committer
antirez
<antirez@gmail.com>
Wed, 25 May 2011 10:32:45 +0000
(12:32 +0200)
src/scripting.c
patch
|
blob
|
blame
|
history
diff --git
a/src/scripting.c
b/src/scripting.c
index bde532ca6f65834a4106d8e7a3a777e88679bb89..d3c18663ffc8a53ad541d0498fcca48a1fca93b1 100644
(file)
--- a/
src/scripting.c
+++ b/
src/scripting.c
@@
-61,7
+61,7
@@
void scriptingInit(void) {
/* Register the 'r' command */
lua_pushcfunction(lua,luaRedisCommand);
- lua_setglobal(lua,"r");
+ lua_setglobal(lua,"r
edis
");
/* Create the (non connected) client that we use to execute Redis commands
* inside the Lua interpreter */