From b17579687420f13afcb173f29556d89475d3f31b Mon Sep 17 00:00:00 2001 From: Aaron Date: Tue, 6 Mar 2012 20:59:44 -0800 Subject: SERVER-4776 only use numeric comparison in updates when applying modifiers to an array --- src/mongo/util/version.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mongo/util/version.cpp') diff --git a/src/mongo/util/version.cpp b/src/mongo/util/version.cpp index 1c8dbc9a2fe..6e95f72bff4 100644 --- a/src/mongo/util/version.cpp +++ b/src/mongo/util/version.cpp @@ -252,7 +252,7 @@ namespace mongo { return -1; } - return LexNumCmp::cmp(rhs.data(), lhs.data()); + return LexNumCmp::cmp(rhs.data(), lhs.data(), false); } class VersionCmpTest : public UnitTest { -- cgit v1.2.1