Bug#913185: redis-server: Lua scripts cannot use cjson

2018-11-07 Thread Nicolas Le Manchet
Sorry for the incomplete bug report, I hit send too quickly. After upgrading from Redis 4 to Redis 5, lua scripts cannot use the cjson library anymore. Expected: $ redis-cli EVAL 'cjson.decode("{}")' 0 (nil) Actual: $ redis-cli EVAL 'cjson.decode("{}")' 0 (error) ERR Error

Bug#913185: redis-server: Lua scripts cannot use cjson

2018-11-07 Thread Nicolas Le Manchet
Package: redis-server Version: 5:5.0.0-2~bpo9+1 Severity: important Dear Maintainer, After upgrading from Redis 4 to Redis 5, lua scripts cannot use the cjson library anymore. Expected: $ redis-cli EVAL 'cjson.decode("{}")' 0 (nil) Actual: $ redis-cli EVAL 'cjson.decode("{}")' 0