You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use renameNx and rename a key to a key that is currently not existing the operation is performed well on Redis server. Nevertheless I get false as result from phpredis.
It seems that the either the return value of RENAMENX has changed in Redis itself, or this bug has been here for a long time. I have fixed this issue and added a unit test.
Could you please confirm that it works as expected?
Works like a charm. All green :) . During the next weeks I am going to cover most phpredis functions with tests as I am currently building a higher level library. I'll let you know when I encounter something else. I hope this is not very anoying for you :) .
Activity
nicolasff commentedon Mar 28, 2011
Hello,
Thanks for this report. I'll have a look tomorrow morning and integrate your test.
tompro commentedon Mar 29, 2011
Cool. Thanks for this fast reply.
nicolasff commentedon Mar 30, 2011
Hello again,
It seems that the either the return value of
RENAMENXhas changed in Redis itself, or this bug has been here for a long time. I have fixed this issue and added a unit test.Could you please confirm that it works as expected?
tompro commentedon Mar 30, 2011
Works like a charm. All green :) . During the next weeks I am going to cover most phpredis functions with tests as I am currently building a higher level library. I'll let you know when I encounter something else. I hope this is not very anoying for you :) .
nicolasff commentedon Mar 30, 2011
Not at all, thanks for reporting this. The more I can fix, the better it will be :-)
fotografi commentedon Aug 12, 2016
Merge pull request #1 from phpredis/develop