[SERVER-8493] jsonString Sign Extends Bindata Type Created: 08/Feb/13  Updated: 11/Jul/16  Resolved: 26/Feb/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.4.0-rc2

Type: Bug Priority: Minor - P4
Reporter: Shaun Verch Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-8541 BinData80 bin data type not parsed co... Closed
Operating System: ALL
Participants:

 Description   

mongos> db.bindata.drop()
true
mongos> db.bindata.insert({"a":new BinData(0x80,"AAAA")})
mongos> exit
bye
[sv@sv ~/dev/mongodb_repos/QA-277 (static_initializers)]$ ./mongoexport -c bindata -d test
connected to: 127.0.0.1
{ "_id" : { "$oid" : "5115870c5c526695ddf7752e" }, "a" : { "$binary" : "AAAA", "$type" : "ffffff80" } }
exported 1 records



 Comments   
Comment by auto [ 26/Feb/13 ]

Author:

{u'date': u'2013-02-08T23:20:43Z', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-8493 Stop jsonString from sign extending type of BinData
Branch: master
https://github.com/mongodb/mongo/commit/49e64f404b3f6fa1c618060944733feb79f467fe

Generated at Thu Feb 08 03:17:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.