diff options
author | Mathias Stearn <mathias@10gen.com> | 2015-01-23 20:02:43 -0500 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2015-02-13 15:29:33 -0500 |
commit | 5ffcf2f281d58aac6c27cbbf49407f18cb86eaf0 (patch) | |
tree | 633d61efe5498835c52030d03f59879a39c72ca2 /src/mongo/dbtests/query_stage_near.cpp | |
parent | 3d5aee54e4f45cc516d64bfef0d682e93e264258 (diff) | |
download | mongo-5ffcf2f281d58aac6c27cbbf49407f18cb86eaf0.tar.gz |
SERVER-17062 Make query execution handle WriteConflictExceptions where possible
Diffstat (limited to 'src/mongo/dbtests/query_stage_near.cpp')
-rw-r--r-- | src/mongo/dbtests/query_stage_near.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/dbtests/query_stage_near.cpp b/src/mongo/dbtests/query_stage_near.cpp index bbaa0c5510f..a9d59f642a1 100644 --- a/src/mongo/dbtests/query_stage_near.cpp +++ b/src/mongo/dbtests/query_stage_near.cpp @@ -176,6 +176,13 @@ namespace { return StatusWith<double>(member->obj.value()["distance"].numberDouble()); } + virtual StageState initialize(OperationContext* txn, + WorkingSet* workingSet, + Collection* collection, + WorkingSetID* out) { + return IS_EOF; + } + private: OwnedPointerVector<MockInterval> _intervals; |