Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Platforms 2016-09-19
Description
SERVER-14592 precipitated this. In the code review, it was originally schwerin's recommendation to do this:
https://mongo-cr-archive.appspot.com/5151155143311360
Free function "escape()" in bsonelement.h should be moved to a better place and changed to take a StringData for efficiency, since its callers frequently provide it with string literals or other StringData variables.