summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/SConscript
diff options
context:
space:
mode:
authorJustin Seyster <justin.seyster@mongodb.com>2017-05-26 14:35:45 -0400
committerJustin Seyster <justin.seyster@mongodb.com>2017-05-26 17:15:58 -0400
commit210cd048511296261da8942d2ffb3421bc237bd3 (patch)
tree757a285cd60eb85e36946a6b3510750c7ad0949f /src/mongo/db/update/SConscript
parent701042e66ee7c54f581f1d42630c98864828e5d3 (diff)
downloadmongo-210cd048511296261da8942d2ffb3421bc237bd3.tar.gz
SERVER-28775 Create UnsetNode
This is a second attempt at 90fd8a19000b5f96983f068e6380c1f6bd824b69, which got reverted because it introduced a compile error. The problem was that UpdateNode::apply() earned "const" status after I tested the original patch but before I rebased for the final commit. Oops!
Diffstat (limited to 'src/mongo/db/update/SConscript')
-rw-r--r--src/mongo/db/update/SConscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mongo/db/update/SConscript b/src/mongo/db/update/SConscript
index e1273516d44..e985acbbca1 100644
--- a/src/mongo/db/update/SConscript
+++ b/src/mongo/db/update/SConscript
@@ -57,6 +57,7 @@ env.Library(
source=[
'modifier_table.cpp',
'set_node.cpp',
+ 'unset_node.cpp',
'update_node.cpp',
'update_object_node.cpp',
],
@@ -85,6 +86,15 @@ env.CppUnitTest(
)
env.CppUnitTest(
+ target='unset_node_test',
+ source='unset_node_test.cpp',
+ LIBDEPS=[
+ '$BUILD_DIR/mongo/bson/mutable/mutable_bson_test_utils',
+ 'update',
+ ],
+)
+
+env.CppUnitTest(
target='update_object_node_test',
source='update_object_node_test.cpp',
LIBDEPS=[