[SERVER-29047] BSONObjBuilder's move constructor should initialize ValueStream with self Created: 03/May/17  Updated: 30/Oct/23  Resolved: 05/May/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.5.7

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to SERVER-28311 BSONObjBuilder should be returnable Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2017-05-08
Participants:
Linked BF Score: 0

 Description   

The BSONObjBuilder move constructor introduced for SERVER-28311 incorrectly moves the ValueStream member from the source, leaving it pointing to the source's BSONObjBuilder.



 Comments   
Comment by Githook User [ 05/May/17 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-29047 Fix BSONObjBuilder's move constructor
Branch: master
https://github.com/mongodb/mongo/commit/da55c9dd441b29d413450757f74f5da39f37a5c2

Generated at Thu Feb 08 04:19:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.