diff options
author | Jennifer Peshansky <jennifer.peshansky@mongodb.com> | 2022-11-03 16:13:20 +0000 |
---|---|---|
committer | Jennifer Peshansky <jennifer.peshansky@mongodb.com> | 2022-11-03 16:13:20 +0000 |
commit | e74d2910bbe76790ad131d53fee277829cd95982 (patch) | |
tree | cabe148764529c9623652374fbc36323a550cd44 /src/mongo/db/storage/external_record_store.h | |
parent | 280145e9940729480bb8a35453d4056afac87641 (diff) | |
parent | ba467f46cc1bc49965e1d72b541eff0cf1d7b22e (diff) | |
download | mongo-jenniferpeshansky/SERVER-70854.tar.gz |
Merge branch 'master' into jenniferpeshansky/SERVER-70854jenniferpeshansky/SERVER-70854
Diffstat (limited to 'src/mongo/db/storage/external_record_store.h')
-rw-r--r-- | src/mongo/db/storage/external_record_store.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/storage/external_record_store.h b/src/mongo/db/storage/external_record_store.h index 152d766e6cb..ac0c61392c6 100644 --- a/src/mongo/db/storage/external_record_store.h +++ b/src/mongo/db/storage/external_record_store.h @@ -33,16 +33,8 @@ #include "mongo/db/catalog/virtual_collection_options.h" #include "mongo/db/storage/record_store.h" #include "mongo/util/assert_util.h" -#include "mongo/util/errno_util.h" namespace mongo { -namespace { -inline std::string getErrorMessage(StringData op, const std::string& path) { - using namespace fmt::literals; - return "Failed to {} {}: {}"_format(op, path, errorMessage(lastSystemError())); -} -} // namespace - class ExternalRecordStore : public RecordStore { public: ExternalRecordStore(StringData ns, const VirtualCollectionOptions& vopts); |