| 193 | } |
| 194 | |
| 195 | char *redisProtocolToLuaType_Error(lua_State *lua, char *reply) { |
| 196 | char *p = strchr(reply+1,'\r'); |
| 197 | |
| 198 | lua_newtable(lua); |
| 199 | lua_pushstring(lua,"err"); |
| 200 | lua_pushlstring(lua,reply+1,p-reply-1); |
| 201 | lua_settable(lua,-3); |
| 202 | return p+2; |
| 203 | } |
| 204 | |
| 205 | char *redisProtocolToLuaType_Aggregate(lua_State *lua, char *reply, int atype) { |
| 206 | char *p = strchr(reply+1,'\r'); |
no test coverage detected