diff options
author | Aaron <aaron@10gen.com> | 2009-05-11 15:09:30 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-05-11 15:09:30 -0400 |
commit | 691629143c8ac264815665f8e317cd8ce6a6756e (patch) | |
tree | 85c1e5ec113d5336209c2b70dfdbebf4f33017fd /s/shardkey.cpp | |
parent | 13ac1f5ee496e0f791a8d131d12ac0d08367e1d9 (diff) | |
download | mongo-691629143c8ac264815665f8e317cd8ce6a6756e.tar.gz |
adjust dependencies MINOR
Diffstat (limited to 's/shardkey.cpp')
-rw-r--r-- | s/shardkey.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/s/shardkey.cpp b/s/shardkey.cpp index a5903ad2467..1085c30f695 100644 --- a/s/shardkey.cpp +++ b/s/shardkey.cpp @@ -332,24 +332,24 @@ namespace mongo { break; int op = f.getGtLtOp(); switch( op ) { - case JSMatcher::LT: + case BSONObj::LT: if( compareValues(f, LE) <= 0 ) return false; break; - case JSMatcher::LTE: + case BSONObj::LTE: if( compareValues(f, LE) < 0 ) return false; break; - case JSMatcher::GT: - case JSMatcher::GTE: + case BSONObj::GT: + case BSONObj::GTE: if( compareValues(f, RE) >= 0 ) return false; break; - case JSMatcher::opIN: - case JSMatcher::NE: - case JSMatcher::opSIZE: + case BSONObj::opIN: + case BSONObj::NE: + case BSONObj::opSIZE: massert("not implemented yet relevant()", false); - case JSMatcher::Equality: + case BSONObj::Equality: goto normal; default: massert("bad operator in relevant()?", false); |