diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-06-18 00:19:33 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2019-06-18 00:19:33 -0400 |
commit | c436b8090417baf847143e97f5d221285b1898e1 (patch) | |
tree | bb5369a793c8ec6646b20e92b1a0f85b7979682f /src/mongo/db/storage/storage_engine_lock_file_windows.cpp | |
parent | 5eda33f9fa40a1a17f9f63f904a8c147700d648c (diff) | |
download | mongo-c436b8090417baf847143e97f5d221285b1898e1.tar.gz |
SERVER-41644 Expose explicit encryption helpers in community shell
Diffstat (limited to 'src/mongo/db/storage/storage_engine_lock_file_windows.cpp')
-rw-r--r-- | src/mongo/db/storage/storage_engine_lock_file_windows.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/storage/storage_engine_lock_file_windows.cpp b/src/mongo/db/storage/storage_engine_lock_file_windows.cpp index 72abd6a68bf..2be6f11bb03 100644 --- a/src/mongo/db/storage/storage_engine_lock_file_windows.cpp +++ b/src/mongo/db/storage/storage_engine_lock_file_windows.cpp @@ -170,14 +170,12 @@ Status StorageEngineLockFile::writeString(StringData str) { NULL) == FALSE) { int errorcode = GetLastError(); return Status(ErrorCodes::FileStreamFailed, - str::stream() << "Unable to write string " << str << " to file: " - << _filespec + str::stream() << "Unable to write string " << str << " to file: " << _filespec << ' ' << errnoWithDescription(errorcode)); } else if (bytesWritten == 0) { return Status(ErrorCodes::FileStreamFailed, - str::stream() << "Unable to write string " << str << " to file: " - << _filespec + str::stream() << "Unable to write string " << str << " to file: " << _filespec << " no data written."); } |