Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
30a3644e
Commit
30a3644e
authored
Sep 20, 2019
by
WuYunlong
Browse files
RESP3: Fix function redisProtocolToLuaType about RESP3->Lua bools.
parent
474a9231
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
30a3644e
...
@@ -139,7 +139,7 @@ char *redisProtocolToLuaType(lua_State *lua, char* reply) {
...
@@ -139,7 +139,7 @@ char *redisProtocolToLuaType(lua_State *lua, char* reply) {
case
'%'
:
p
=
redisProtocolToLuaType_Aggregate
(
lua
,
reply
,
*
p
);
break
;
case
'%'
:
p
=
redisProtocolToLuaType_Aggregate
(
lua
,
reply
,
*
p
);
break
;
case
'~'
:
p
=
redisProtocolToLuaType_Aggregate
(
lua
,
reply
,
*
p
);
break
;
case
'~'
:
p
=
redisProtocolToLuaType_Aggregate
(
lua
,
reply
,
*
p
);
break
;
case
'_'
:
p
=
redisProtocolToLuaType_Null
(
lua
,
reply
);
break
;
case
'_'
:
p
=
redisProtocolToLuaType_Null
(
lua
,
reply
);
break
;
case
'#'
:
p
=
redisProtocolToLuaType_Bool
(
lua
,
reply
,
p
[
1
]);
case
'#'
:
p
=
redisProtocolToLuaType_Bool
(
lua
,
reply
,
p
[
1
]);
break
;
case
','
:
p
=
redisProtocolToLuaType_Double
(
lua
,
reply
);
case
','
:
p
=
redisProtocolToLuaType_Double
(
lua
,
reply
);
}
}
return
p
;
return
p
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment