summaryrefslogtreecommitdiff
path: root/src/mongo/db/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/client.cpp')
-rw-r--r--src/mongo/db/client.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp
index 1e5e8b43367..2c4fd5b885b 100644
--- a/src/mongo/db/client.cpp
+++ b/src/mongo/db/client.cpp
@@ -729,6 +729,10 @@ namespace mongo {
OPDEBUG_APPEND_NUMBER( responseLength );
b.append( "millis" , executionTime );
+ if (!execStats.isEmpty()) {
+ b.append("execStats", execStats);
+ }
+
return true;
}