summaryrefslogtreecommitdiff
path: root/src/mongo/db/update
diff options
context:
space:
mode:
authorSvilen Mihaylov <svilen.mihaylov@mongodb.com>2020-07-14 11:27:03 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-07-22 21:25:48 +0000
commit4f1d4c54ab1270dc61edd5931e0e77f524a7b989 (patch)
treeb4d2255a77c24f373cf016ebe0b74e7f3659d59e /src/mongo/db/update
parent19db8ebda506ddcd3f4e477fb9bd4228867e6ca3 (diff)
downloadmongo-4f1d4c54ab1270dc61edd5931e0e77f524a7b989.tar.gz
SERVER-48731 Inclusion of FLE support in the shell drags too much of the query system in
Diffstat (limited to 'src/mongo/db/update')
-rw-r--r--src/mongo/db/update/SConscript25
1 files changed, 17 insertions, 8 deletions
diff --git a/src/mongo/db/update/SConscript b/src/mongo/db/update/SConscript
index fd3ff49de8d..9a93690dd21 100644
--- a/src/mongo/db/update/SConscript
+++ b/src/mongo/db/update/SConscript
@@ -21,7 +21,7 @@ env.Library(
)
env.Library(
- target='update',
+ target='update_nodes',
source=[
'addtoset_node.cpp',
'arithmetic_node.cpp',
@@ -29,13 +29,8 @@ env.Library(
'bit_node.cpp',
'compare_node.cpp',
'current_date_node.cpp',
- 'document_diff_calculator.cpp',
- 'document_diff_applier.cpp',
- 'document_diff_serialization.cpp',
'modifier_node.cpp',
'modifier_table.cpp',
- 'object_replace_executor.cpp',
- 'pipeline_executor.cpp',
'pop_node.cpp',
'pull_node.cpp',
'pullall_node.cpp',
@@ -50,7 +45,6 @@ env.Library(
'update_object_node.cpp',
],
LIBDEPS=[
- '$BUILD_DIR/mongo/db/pipeline/pipeline',
'$BUILD_DIR/mongo/db/update_index_data',
'$BUILD_DIR/mongo/db/vector_clock_mutable',
'update_common',
@@ -58,6 +52,21 @@ env.Library(
)
env.Library(
+ target='update',
+ source=[
+ 'document_diff_applier.cpp',
+ 'document_diff_calculator.cpp',
+ 'document_diff_serialization.cpp',
+ 'object_replace_executor.cpp',
+ 'pipeline_executor.cpp',
+ ],
+ LIBDEPS=[
+ '$BUILD_DIR/mongo/db/pipeline/pipeline',
+ 'update_nodes'
+ ],
+)
+
+env.Library(
target='update_driver',
source=[
'update_driver.cpp',
@@ -66,7 +75,7 @@ env.Library(
'$BUILD_DIR/mongo/base',
'$BUILD_DIR/mongo/db/common',
'$BUILD_DIR/mongo/db/ops/write_ops_parsers',
- '$BUILD_DIR/mongo/db/query/query_planner',
+ '$BUILD_DIR/mongo/db/query/canonical_query',
'$BUILD_DIR/mongo/db/server_options_core',
'update',
],