summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops/write_without_shard_key_util.cpp
diff options
context:
space:
mode:
authorYoonsoo Kim <yoonsoo.kim@mongodb.com>2023-05-11 19:56:25 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-11 22:24:40 +0000
commit3b28ab0af055f7818e321219a75202bc61dae045 (patch)
treeb61284eeb0443cfbc8d334d0e510d32929e35073 /src/mongo/s/write_ops/write_without_shard_key_util.cpp
parent14e3b091373c63edb7ece3b47f35f3dec198fdad (diff)
downloadmongo-3b28ab0af055f7818e321219a75202bc61dae045.tar.gz
SERVER-76530 Support findAndModify remove on a sharded timeseries collection
Diffstat (limited to 'src/mongo/s/write_ops/write_without_shard_key_util.cpp')
-rw-r--r--src/mongo/s/write_ops/write_without_shard_key_util.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/s/write_ops/write_without_shard_key_util.cpp b/src/mongo/s/write_ops/write_without_shard_key_util.cpp
index a48264b459d..f3d1ed0e4ab 100644
--- a/src/mongo/s/write_ops/write_without_shard_key_util.cpp
+++ b/src/mongo/s/write_ops/write_without_shard_key_util.cpp
@@ -164,7 +164,6 @@ bool useTwoPhaseProtocol(OperationContext* opCtx,
return false;
}
- BSONObj deleteQuery = query;
auto expCtx = makeExpressionContextWithDefaultsForTargeter(opCtx,
nss,
collation,