diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2016-08-08 10:02:33 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2016-08-08 10:02:33 -0400 |
commit | 0aa6850420e3617bd182c91f4a81c5021f59ee52 (patch) | |
tree | 3d8ca14d1a42c31520a13c0f1faa8de07c59544a /src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp | |
parent | 9cf1165c0f9a91548f01ab107520e5a53ab8f876 (diff) | |
download | mongo-0aa6850420e3617bd182c91f4a81c5021f59ee52.tar.gz |
SERVER-24152 Change error code to avoid duplicates.
Fixes compile with the RocksDB storage engine. The error code 40264 was
being used in rocks_index.cpp:
mongodb-partners/mongo-rocks@35c85d8c6d32c0eda01834493069b06f39803a67
Diffstat (limited to 'src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp')
-rw-r--r-- | src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp b/src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp index 95436285a94..81a845bed6e 100644 --- a/src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp +++ b/src/mongo/db/pipeline/granularity_rounder_preferred_numbers.cpp @@ -156,7 +156,7 @@ void uassertNonNegativeNumber(Value value) { double number = value.coerceToDouble(); uassert(40263, "A granularity rounder cannot round NaN", !std::isnan(number)); - uassert(40264, "A granularity rounder can only round non-negative numbers", number >= 0.0); + uassert(40268, "A granularity rounder can only round non-negative numbers", number >= 0.0); } } // namespace |