Task<long> Increment(int db, string key, string field, int value = 1, bool
queueJump = false);
This definition is wrong: it uses "int value = 1" which clearly looks like a
typo because it should be "long" instead. The returned value is correctly set
to long.
The override of the above
Task<double> Increment(int db, string key, string field, double value, bool
queueJump = false);
masks the problem in some cases, when passing long as value (it gets converted
to double) and not type checking the result.
Original issue reported on code.google.com by fireball...@gmail.com on 27 Dec 2013 at 4:52
Original issue reported on code.google.com by
fireball...@gmail.com
on 27 Dec 2013 at 4:52