Details
-
Improvement
-
Resolution: Done
-
Critical - P2
-
None
-
None
-
all
Description
Currently there is no way to determine the MongoDB C++ Client version at the preprocessing, thus there is impossible to handle in source code the API modifications
For example in SERVER-10318 it is necessary to differentiate between 2.2.0 and 2.2.1 to select the proper getLastError(...) version at preprocessing with #if.
Please #define macros for the MongoDB client version.
Attachments
Issue Links
- duplicates
-
CXX-57 Rework version and buildinfo files into something meaningful for the client
-
- Closed
-
- is related to
-
SERVER-10318 getLastError() always returns "getLastError command failed: need to login"
-
- Closed
-