diff options
author | Gregory Noma <gregory.noma@gmail.com> | 2021-05-24 09:55:04 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-05-24 14:27:22 +0000 |
commit | b173494aa6b84b5d44c5f958fd78dd469596a314 (patch) | |
tree | bcdefb735ff1e64faa76c174993fddd1be7442cf /src/mongo/db/commands/dbcommands.cpp | |
parent | 4d720b2eac01fd5044ae114690384c4413ed92b9 (diff) | |
download | mongo-b173494aa6b84b5d44c5f958fd78dd469596a314.tar.gz |
SERVER-56934 Make expireAfterSeconds a top-level collection option
Diffstat (limited to 'src/mongo/db/commands/dbcommands.cpp')
-rw-r--r-- | src/mongo/db/commands/dbcommands.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/dbcommands.cpp b/src/mongo/db/commands/dbcommands.cpp index e20b53a358d..28bd1ec7ec2 100644 --- a/src/mongo/db/commands/dbcommands.cpp +++ b/src/mongo/db/commands/dbcommands.cpp @@ -143,7 +143,7 @@ std::unique_ptr<CollMod> makeTimeseriesCollModCommand(OperationContext* opCtx, cmd->setViewOn(origCmd.getViewOn()); cmd->setPipeline(origCmd.getPipeline()); cmd->setRecordPreImages(origCmd.getRecordPreImages()); - cmd->setClusteredIndex(origCmd.getClusteredIndex()); + cmd->setExpireAfterSeconds(origCmd.getExpireAfterSeconds()); return cmd; } |