Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detect_buffers implementation broken for multi/exec #263

Closed
souravchandra opened this issue Sep 7, 2012 · 2 comments
Closed

detect_buffers implementation broken for multi/exec #263

souravchandra opened this issue Sep 7, 2012 · 2 comments
Labels

Comments

@souravchandra
Copy link

Hi,
I created redis client using options detect_buffers = true.
But if I invoke multi/exec operation on redis , the return type is not as expected.
For example i did in my code:
redis.multi()
multi.del('')
multi.expire(...)
multi.sadd(...)
multi.smembers(...)
multi.exec()
Earlier when I did not use detect_buffers the type of reply for last command was array but now it comes as string.

@souravchandra
Copy link
Author

any updates?
The expected behavior with detect_buffers should be if key is passed as buffer, return response as buffer else return reply as it is (as it would have given in case of no detect_buffers options)

@BridgeAR
Copy link
Contributor

This is fixed in newer versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants