diff options
author | Sergi Mateo Bellido <sergi.mateo-bellido@mongodb.com> | 2020-11-23 08:57:20 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-24 16:34:15 +0000 |
commit | bb840568d976f687fb8e0baa24e37a7827b06de4 (patch) | |
tree | 9f67072809d015dd8d84d58cd0290c5f3f7c5278 /src/mongo/s/cluster_commands_helpers.cpp | |
parent | d291ec46eebdb789a700053f949fb0f3f92cc7d0 (diff) | |
download | mongo-bb840568d976f687fb8e0baa24e37a7827b06de4.tar.gz |
SERVER-52933 Add timestamp to the DatabaseVersion IDL
PART 1
- Adding a new DatabaseVersion class that handles the underlying IDL
implementation of a DatabaseVersion
Diffstat (limited to 'src/mongo/s/cluster_commands_helpers.cpp')
-rw-r--r-- | src/mongo/s/cluster_commands_helpers.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/cluster_commands_helpers.cpp b/src/mongo/s/cluster_commands_helpers.cpp index 14c008bbaa3..1b51d3c04de 100644 --- a/src/mongo/s/cluster_commands_helpers.cpp +++ b/src/mongo/s/cluster_commands_helpers.cpp @@ -51,7 +51,7 @@ #include "mongo/s/catalog/type_collection.h" #include "mongo/s/catalog_cache.h" #include "mongo/s/client/shard_registry.h" -#include "mongo/s/database_version_helpers.h" +#include "mongo/s/database_version.h" #include "mongo/s/grid.h" #include "mongo/s/multi_statement_transaction_requests_sender.h" #include "mongo/s/request_types/create_database_gen.h" @@ -259,7 +259,7 @@ BSONObj appendDbVersionIfPresent(BSONObj cmdObj, const CachedDatabaseInfo& dbInf } BSONObj appendDbVersionIfPresent(BSONObj cmdObj, DatabaseVersion dbVersion) { - if (databaseVersion::isFixed(dbVersion)) { + if (dbVersion.isFixed()) { return cmdObj; } BSONObjBuilder cmdWithDbVersion(std::move(cmdObj)); |