summaryrefslogtreecommitdiff
path: root/src/mongo/db/ops/update_result.cpp
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2014-08-08 11:08:17 -0400
committerBenety Goh <benety@mongodb.com>2014-08-12 18:56:41 -0400
commit8a523f3bfd6e32cb6882d38e4eeff6adb6ea27c1 (patch)
treed934dad83af8d8564f98732d26eeb0a69404e361 /src/mongo/db/ops/update_result.cpp
parent850d2d0912e519e544f0c896583a6fbd5cceabce (diff)
downloadmongo-8a523f3bfd6e32cb6882d38e4eeff6adb6ea27c1.tar.gz
SERVER-14729 assign default log component MONGO_LOG_DEFAULT_COMPONENT
Diffstat (limited to 'src/mongo/db/ops/update_result.cpp')
-rw-r--r--src/mongo/db/ops/update_result.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/ops/update_result.cpp b/src/mongo/db/ops/update_result.cpp
index be3d39abe3f..e20dc451089 100644
--- a/src/mongo/db/ops/update_result.cpp
+++ b/src/mongo/db/ops/update_result.cpp
@@ -28,6 +28,8 @@
* it in the license file.
*/
+#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kQuery
+
#include "mongo/platform/basic.h"
#include "mongo/db/ops/update_result.h"
@@ -36,8 +38,6 @@
namespace mongo {
- MONGO_LOG_DEFAULT_COMPONENT_FILE(::mongo::logger::LogComponent::kQuery);
-
UpdateResult::UpdateResult(bool existing_,
bool modifiers_,
unsigned long long numDocsModified_,