diff options
Diffstat (limited to 'src/mongo/db/commands/list_indexes.cpp')
-rw-r--r-- | src/mongo/db/commands/list_indexes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/list_indexes.cpp b/src/mongo/db/commands/list_indexes.cpp index 16c9678229f..357afb0c372 100644 --- a/src/mongo/db/commands/list_indexes.cpp +++ b/src/mongo/db/commands/list_indexes.cpp @@ -142,7 +142,7 @@ namespace mongo { member->state = WorkingSetMember::OWNED_OBJ; member->keyData.clear(); member->loc = RecordId(); - member->obj = indexSpec; + member->obj = Snapshotted<BSONObj>(SnapshotId(), indexSpec); root->pushBack(*member); } |