diff options
author | Ben Caimano <ben.caimano@10gen.com> | 2020-02-04 16:40:20 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-24 19:15:57 +0000 |
commit | 1525d54f235715d10e41711122a448bd5253588d (patch) | |
tree | e03a3ee55653ff6c7ec3b5f4d95e5d58e0e06e11 /src/mongo/db/curop.h | |
parent | 1cb6ac41648ab8bcc926a1dae6345a01c735ee52 (diff) | |
download | mongo-1525d54f235715d10e41711122a448bd5253588d.tar.gz |
SERVER-46197 Make build flag to disable diagnostic latches
Diffstat (limited to 'src/mongo/db/curop.h')
-rw-r--r-- | src/mongo/db/curop.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/db/curop.h b/src/mongo/db/curop.h index 41a5e5da50a..076bc119d75 100644 --- a/src/mongo/db/curop.h +++ b/src/mongo/db/curop.h @@ -30,6 +30,7 @@ #pragma once +#include "mongo/config.h" #include "mongo/db/clientcursor.h" #include "mongo/db/commands.h" #include "mongo/db/cursor_id.h" @@ -39,10 +40,13 @@ #include "mongo/logv2/attribute_storage.h" #include "mongo/logv2/log_component.h" #include "mongo/platform/atomic_word.h" -#include "mongo/util/diagnostic_info.h" #include "mongo/util/progress_meter.h" #include "mongo/util/time_support.h" +#ifndef MONGO_CONFIG_USE_RAW_LATCHES +#include "mongo/util/diagnostic_info.h" +#endif + namespace mongo { class Client; |