summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/catalog_cache.h')
-rw-r--r--src/mongo/s/catalog_cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/s/catalog_cache.h b/src/mongo/s/catalog_cache.h
index 55877a37c49..656d163f26c 100644
--- a/src/mongo/s/catalog_cache.h
+++ b/src/mongo/s/catalog_cache.h
@@ -30,6 +30,7 @@
#pragma once
#include "mongo/base/string_data.h"
+#include "mongo/db/jsobj.h"
#include "mongo/platform/atomic_word.h"
#include "mongo/s/catalog/type_database.h"
#include "mongo/s/catalog_cache_loader.h"
@@ -77,7 +78,7 @@ public:
return *_dbVersion;
}
- std::string toString() const;
+ BSONObj toBSONForLogging() const;
bool sameUuid(const ComparableDatabaseVersion& other) const {
return _dbVersion->getUuid() == other._dbVersion->getUuid();