|
Author:
{'username': 'jseyster', 'email': 'justin.seyster@mongodb.com', 'name': 'Justin Seyster'}
Message: SERVER-30124 Move statics from populateDocumentWithQueryFields.
We're seeing a test failure that could be explained by non-thread safe
initialization of function-level static variables in the version of
the C++11 spec used by the VS2013 compiler.
https://blogs.msdn.microsoft.com/oldnewthing/20040308-00/?p=40363
Moving those variables into file scope should ensure that
they get initialized safely.
Branch: v3.2
https://github.com/mongodb/mongo/commit/1583062723785c550874943007e6cdc1b7903e99
|