diff options
author | David Storch <david.storch@10gen.com> | 2015-02-12 13:54:11 -0500 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2015-02-20 10:26:12 -0500 |
commit | be2f8584a96d44a0c82b40b472dbc92ac10508f9 (patch) | |
tree | f91a691cfbb60617ee092ad5c9cddbb4ac927648 /src/mongo/db/exec/count_scan.cpp | |
parent | ae18bbec33db1c4bf57d328505474eb7bba517df (diff) | |
download | mongo-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.cpp | 1 |
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() { |