Issue 180 in redis: Nested MULTI command does not raise error

348 views
Skip to first unread message

re...@googlecode.com

unread,
Mar 13, 2010, 8:33:44 AM3/13/10
to redi...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 180 by SunO...@gmail.com: Nested MULTI command does not raise
error
http://code.google.com/p/redis/issues/detail?id=180

What steps will reproduce the problem?
1. Issue MULTI and then any number of std cmds
2. Issue another MULTI cmd before either EXEC or DISCARD and then again
issue std cmds
3. EXEC returns result of the cmds including an +OK for the nested MULTI

What is the expected output? What do you see instead?
Issuing a MULTI cmd inside a multi/exec|discard should raise an error.

What version of the product are you using? On what operating system?
1.3.4

Please provide any additional information below.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

re...@googlecode.com

unread,
Aug 27, 2010, 6:51:42 AM8/27/10
to redi...@googlegroups.com
Updates:
Status: Verified

Comment #1 on issue 180 by antirez: Nested MULTI command does not raise
error
http://code.google.com/p/redis/issues/detail?id=180

This is fixed on master since some time, I can't remember when this got
fixed but it's ok now:

redis> multi
OK
redis> multi
(error) ERR MULTI calls can not be nested
redis>

Thanks,
Salvatore

Reply all
Reply to author
Forward
0 new messages