summaryrefslogtreecommitdiff
path: root/bson
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2011-09-06 16:21:44 -0400
committerDwight <dwight@10gen.com>2011-09-06 16:21:44 -0400
commitbe1e9a5ab7e177868a9421014f731c5dda68ea03 (patch)
treeea51f1ec550f0b98eb4534a73773f5201389cace /bson
parent1fa05e4ea5d45c238784a236639cdc64b3435fdb (diff)
downloadmongo-be1e9a5ab7e177868a9421014f731c5dda68ea03.tar.gz
comment
Diffstat (limited to 'bson')
-rw-r--r--bson/bson-inl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/bson/bson-inl.h b/bson/bson-inl.h
index b86d66784ed..d8221d78df0 100644
--- a/bson/bson-inl.h
+++ b/bson/bson-inl.h
@@ -150,7 +150,9 @@ dodouble:
return -1;
}
- /* wo = "well ordered" */
+ /* wo = "well ordered"
+ note: (mongodb related) : this can only change in behavior when index version # changes
+ */
inline int BSONElement::woCompare( const BSONElement &e,
bool considerFieldName ) const {
int lt = (int) canonicalType();