summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher/expression_test.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2013-04-29 14:02:47 -0400
committerEliot Horowitz <eliot@10gen.com>2013-04-29 14:51:37 -0400
commitb13db37280d9cfca51e1e5e59bf5956295ac61b6 (patch)
treee602017cc1e2dc9c630f48ea9698856eca65496b /src/mongo/db/matcher/expression_test.cpp
parentf58d431f45a0db9812e67641f429c692c3207201 (diff)
downloadmongo-b13db37280d9cfca51e1e5e59bf5956295ac61b6.tar.gz
SERVER-6400 - move MatchDetails out of matcher.h
Diffstat (limited to 'src/mongo/db/matcher/expression_test.cpp')
-rw-r--r--src/mongo/db/matcher/expression_test.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mongo/db/matcher/expression_test.cpp b/src/mongo/db/matcher/expression_test.cpp
index 44424e11d64..f9df13c253f 100644
--- a/src/mongo/db/matcher/expression_test.cpp
+++ b/src/mongo/db/matcher/expression_test.cpp
@@ -24,27 +24,11 @@
#include "mongo/bson/bsonobjbuilder.h"
#include "mongo/bson/bsonmisc.h"
#include "mongo/db/json.h"
-#include "mongo/db/matcher.h"
#include "mongo/db/matcher/expression.h"
#include "mongo/db/matcher/expression_leaf.h"
namespace mongo {
- /// HACK HACK HACK
-
- MatchDetails::MatchDetails() :
- _elemMatchKeyRequested() {
- resetOutput();
- }
- void MatchDetails::resetOutput() {
- _loadedRecord = false;
- _elemMatchKeyFound = false;
- _elemMatchKey = "";
- }
-
-
- // ----------------------
-
TEST( ExpressionTest, Parse1 ) {
//TreeExpression* e = NULL;
//Status s = Expression::parse( BSON( "x" << 1 ), &e );