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
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