diff options
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r-- | src/mongo/db/exec/stagedebug_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/stagedebug_cmd.cpp b/src/mongo/db/exec/stagedebug_cmd.cpp index 6d6bfc1a896..39a79d3297c 100644 --- a/src/mongo/db/exec/stagedebug_cmd.cpp +++ b/src/mongo/db/exec/stagedebug_cmd.cpp @@ -518,7 +518,7 @@ public: }; MONGO_INITIALIZER(RegisterStageDebugCmd)(InitializerContext* context) { - if (Command::testCommandsEnabled) { + if (getTestCommandsEnabled()) { // Leaked intentionally: a Command registers itself when constructed. new StageDebugCmd(); } |