summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec/count_scan.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2015-02-12 13:54:11 -0500
committerDavid Storch <david.storch@10gen.com>2015-02-20 10:26:12 -0500
commitbe2f8584a96d44a0c82b40b472dbc92ac10508f9 (patch)
treef91a691cfbb60617ee092ad5c9cddbb4ac927648 /src/mongo/db/exec/count_scan.cpp
parentae18bbec33db1c4bf57d328505474eb7bba517df (diff)
downloadmongo-be2f8584a96d44a0c82b40b472dbc92ac10508f9.tar.gz
SERVER-4494 add index version to explain output
Diffstat (limited to 'src/mongo/db/exec/count_scan.cpp')
-rw-r--r--src/mongo/db/exec/count_scan.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/exec/count_scan.cpp b/src/mongo/db/exec/count_scan.cpp
index 4283a4e57a4..24134ecacee 100644
--- a/src/mongo/db/exec/count_scan.cpp
+++ b/src/mongo/db/exec/count_scan.cpp
@@ -56,6 +56,7 @@ namespace mongo {
_specificStats.keyPattern = _params.descriptor->keyPattern();
_specificStats.indexName = _params.descriptor->indexName();
_specificStats.isMultiKey = _params.descriptor->isMultikey(txn);
+ _specificStats.indexVersion = _params.descriptor->version();
}
void CountScan::initIndexCursor() {