diff options
author | Charlie Swanson <charlie.swanson@mongodb.com> | 2021-06-29 11:15:58 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-29 11:49:26 +0000 |
commit | 7558a7a36cbfcc0af39b0f0bf07861f162c590d2 (patch) | |
tree | 9af8df9056520852869c0f57d0ff3b5dc9be0be6 /src/mongo/db/pipeline/accumulator_min_max.cpp | |
parent | 28812fce0bd40c9320740f0b9cbcb5f7b686eba7 (diff) | |
download | mongo-7558a7a36cbfcc0af39b0f0bf07861f162c590d2.tar.gz |
SERVER-58076 Exclude new 5.0 language features from stable API
Diffstat (limited to 'src/mongo/db/pipeline/accumulator_min_max.cpp')
-rw-r--r-- | src/mongo/db/pipeline/accumulator_min_max.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/accumulator_min_max.cpp b/src/mongo/db/pipeline/accumulator_min_max.cpp index d0d3758487d..b6d7c3db74d 100644 --- a/src/mongo/db/pipeline/accumulator_min_max.cpp +++ b/src/mongo/db/pipeline/accumulator_min_max.cpp @@ -43,8 +43,8 @@ using boost::intrusive_ptr; REGISTER_ACCUMULATOR(max, genericParseSingleExpressionAccumulator<AccumulatorMax>); REGISTER_ACCUMULATOR(min, genericParseSingleExpressionAccumulator<AccumulatorMin>); -REGISTER_EXPRESSION(max, ExpressionFromAccumulator<AccumulatorMax>::parse); -REGISTER_EXPRESSION(min, ExpressionFromAccumulator<AccumulatorMin>::parse); +REGISTER_STABLE_EXPRESSION(max, ExpressionFromAccumulator<AccumulatorMax>::parse); +REGISTER_STABLE_EXPRESSION(min, ExpressionFromAccumulator<AccumulatorMin>::parse); REGISTER_REMOVABLE_WINDOW_FUNCTION(max, AccumulatorMax, WindowFunctionMax); REGISTER_REMOVABLE_WINDOW_FUNCTION(min, AccumulatorMin, WindowFunctionMin); |