-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Shell
-
None
-
Environment:Linux 3.5.0-18-generic #29-Ubuntu SMP x86_64
MongoDB 2.2.2
-
ALL
-
Assume that max value of 64-bit integer id 2^63-1 = 9223372036854775807
But sometimes in mongo shell we got wrong results from NumberLong(9223372036854775807):
MongoDB shell version: 2.2.2 connecting to: dataproviders > NumberLong(9223372036854775807) NumberLong("-9223372036854775808")
- is related to
-
SERVER-10966 Passing a Float to constructors of NumberInt()and NumberLong() give odd behavior
- Backlog
-
SERVER-24802 Database store a value different to the one provided as 64 bits long integer
- Closed