-
Notifications
You must be signed in to change notification settings - Fork 259
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Page https://redis.io/docs/latest/commands/incr
The page states return type of INCR
& DECR
is the integer number after incrementing, but when i do the following excersie around, the return value is garbled or overflows.
Steps to reproduce:
- Take max of signed 64 bit number and deduct 1 from it = 9223372036854775807-1 = 9223372036854775806 (This is within specs of redis to increment).
- set a 9223372036854775806
- incr a
- return 9223372036854776000 instead of 9223372036854775807
- Same for decr
Not tested INCRby or DECRby
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested