summaryrefslogtreecommitdiff
path: root/bson
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2011-06-20 19:29:12 -0400
committerMathias Stearn <mathias@10gen.com>2011-06-20 19:29:12 -0400
commit03736f9567b3fccccf92d4973ecfc40d680fb944 (patch)
tree564e1574f9614641167aa1b0e018f772fc85757a /bson
parent09a3af0229c1487c0e077c901c3a2a36bf92bada (diff)
downloadmongo-03736f9567b3fccccf92d4973ecfc40d680fb944.tar.gz
Don't allow manual split-point with different field order SERVER-3080
Diffstat (limited to 'bson')
-rw-r--r--bson/bsonmisc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bson/bsonmisc.h b/bson/bsonmisc.h
index ce3aaa4d9ac..8abb4879300 100644
--- a/bson/bsonmisc.h
+++ b/bson/bsonmisc.h
@@ -198,4 +198,6 @@ namespace mongo {
int _sizes[SIZE];
};
+ // considers order
+ bool fieldsMatch(const BSONObj& lhs, const BSONObj& rhs);
}