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

INCRBY on a non-existent key with a non-integer value should return an ERR #40

Open
sobotklp opened this issue Apr 30, 2015 · 0 comments

Comments

@sobotklp
Copy link

If you are using INCRBY on a non-existent key in Redis, the following would return an error:

INCRBY newkey sdgsdfg
-ERR value is not an integer or out of range

The behaviour of redis-mock seems to be that it will return an error if you try to INCRBY again on the same key, because the existing value is not an integer.

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

No branches or pull requests

1 participant