summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbcommands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/dbcommands.cpp')
-rw-r--r--src/mongo/db/dbcommands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbcommands.cpp b/src/mongo/db/dbcommands.cpp
index 30a3e55926f..5e49cd26b37 100644
--- a/src/mongo/db/dbcommands.cpp
+++ b/src/mongo/db/dbcommands.cpp
@@ -888,7 +888,7 @@ public:
return false;
}
- result.append("ns", nss);
+ result.append("ns", nss.ns());
long long size = collection->dataSize(txn) / scale;
long long numRecords = collection->numRecords(txn);