antirez
|
7229d60d03
EVALSHA implemented
|
пре 13 година |
antirez
|
82c6b8257a
Now it is possible to return multi bulks of multi bulks from Lua, just returning tables of tables. The new conversion of the Null bulk and multi bulk type is the Lua false type.
|
пре 13 година |
antirez
|
da386cdf33
for performance reasons only set the debug hook if the time limit is enabled.
|
пре 13 година |
antirez
|
87c219243c
Lua max exec time fixes: redisLog() to log the event moved before the lua_error() call that does a long jump so never returns. Aesthetic fixes in error message.
|
пре 13 година |
antirez
|
bcc72bc381
call the Lua hook with minor frequency. It is already enough to call it every 100000 istructions for near millisecond precision.
|
пре 13 година |
antirez
|
eeffcf380f
Lua scripts max execution time
|
пре 13 година |
antirez
|
40531be0e3
call lua_gc() for incremental garbage collection. Likely there is to tune this at some point.
|
пре 13 година |
antirez
|
c2a7dd85ae
Lua scripting: Honor SELECT command in both ways
|
пре 13 година |
antirez
|
09ab5591fa
Fixed a problem in the script engine that crashed the server if the reply was not stored just int the static buffer of the client structure.
|
пре 13 година |
antirez
|
0d916763af
Status replies converted in a special way like errors in the Lua <-> Redis conversion code.
|
пре 13 година |
antirez
|
379789cc52
Fixed nul bulk parsing in Redis protocol to Lua type convertion. Check for bad Lua types as arguements of the redis() Lua command.
|
пре 13 година |
antirez
|
10a6da7af4
Multi bulk to Lua table now working
|
пре 13 година |
antirez
|
3791000f15
Fixed arity detection of Redis command executed from Lua script. Error reporting from Lua fixed. More work on the Redis reply to lua conversion code.
|
пре 13 година |
antirez
|
532e0f5ded
full conversion from Lua return value to redis reply. Partial conversion from Redis reply to Lua type.
|
пре 13 година |
antirez
|
4ae5b5e163
pupulate the Lua global tables KEYS and ARGV before executing the script
|
пре 13 година |
antirez
|
00b7541b21
function to access to Redis command from Lua renamed from r() to redis()
|
пре 13 година |
antirez
|
7156f43c04
Correctly glue the reply buffer. For now returned as it is to Lua, but will be converted into Lua native type later.
|
пре 13 година |
antirez
|
0f1d64ca57
Lua call of Redis command work in progress: sorry I have to go to the cinema to watch the Source Code movie
|
пре 13 година |
antirez
|
7585836e6e
Lua function creation on EVAL, basic Lua return type to Redis protocol convertion done.
|
пре 13 година |