Revert "Scripting: redis.NIL to return nil bulk replies."

This reverts commit e061d797d7.

Conflicts:

	src/scripting.c
This commit is contained in:
antirez
2012-10-01 10:10:03 +02:00
parent f1466e11cd
commit 151b606c11
2 changed files with 4 additions and 39 deletions

View File

@ -30,10 +30,6 @@ start_server {tags {"scripting"}} {
set _ $e
} {this is an error}
test {EVAL - Lua nil reply -> Redis protocol type conversion} {
r eval {return {1,redis.NIL,{nilbulk=true},4}} 0
} {1 {} {} 4}
test {EVAL - Lua table -> Redis protocol type conversion} {
r eval {return {1,2,3,'ciao',{1,2}}} 0
} {1 2 3 ciao {1 2}}