diff options
author | Uladzimir Makouski <uladzimir.makouski@mongodb.com> | 2023-04-26 08:55:53 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-04-26 11:53:14 +0000 |
commit | da77c7a0e3c23ad0e1818cdeea0537e2d69a4d92 (patch) | |
tree | 1a24c41104ff3e5eea2bdfa3ef9109ce80d36cb4 /jstests/aggregation/bugs | |
parent | 9e835ed80a0926f8adfeec5ba347c65342e38d67 (diff) | |
download | mongo-da77c7a0e3c23ad0e1818cdeea0537e2d69a4d92.tar.gz |
Revert "SERVER-76510 Make makeBsonObj() preserve field order"
This reverts commit b3b06e3d80944b177dbde83e1f30c785764c4e3d.
Diffstat (limited to 'jstests/aggregation/bugs')
-rw-r--r-- | jstests/aggregation/bugs/exclusion_projection_does_not_affect_field_order.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/jstests/aggregation/bugs/exclusion_projection_does_not_affect_field_order.js b/jstests/aggregation/bugs/exclusion_projection_does_not_affect_field_order.js index 135b33e794f..09d2239389a 100644 --- a/jstests/aggregation/bugs/exclusion_projection_does_not_affect_field_order.js +++ b/jstests/aggregation/bugs/exclusion_projection_does_not_affect_field_order.js @@ -33,9 +33,4 @@ assert.eq( {$sort: {_id: 1}} ]) .toArray()); - -assert.commandWorked(coll.insert({_id: 4, c: {y: 11, z: 22, a: 33}, a: 1})); - -assert.eq([{_id: 1}, {_id: 2, c: 1}, {_id: 3, y: 1, z: 1}, {_id: 4, c: {y: 11, a: 33}, a: 1}], - coll.aggregate([{$project: {"c.z": 0}}, {$sort: {_id: 1}}]).toArray()); }()); |