diff options
author | Aaron <aaron@10gen.com> | 2011-12-20 12:42:45 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2011-12-20 12:42:54 -0800 |
commit | f2968db61913ee4b9be5e6401836ced0f606ce35 (patch) | |
tree | 9e6a95a6f8ddd06328f083369e5e64bba7f02bd0 /db | |
parent | cc37fe348d61291f2e9a1d8e12334184020c9f9b (diff) | |
download | mongo-f2968db61913ee4b9be5e6401836ced0f606ce35.tar.gz |
SERVER-4149 reenable supportYields verify check
Diffstat (limited to 'db')
-rw-r--r-- | db/queryoptimizercursor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/db/queryoptimizercursor.cpp b/db/queryoptimizercursor.cpp index 194b72e8414..07f8df12815 100644 --- a/db/queryoptimizercursor.cpp +++ b/db/queryoptimizercursor.cpp @@ -49,9 +49,7 @@ namespace mongo { _c = qp().newCursor(); // The QueryOptimizerCursor::prepareToTouchEarlierIterate() implementation requires _c->prepareToYield() to work. - // Temporarily disable verify check. - massert( 15940, "Cursor does not support yields", _c->supportYields() ); - //verify( -15940, _c->supportYields() ); + verify( 15940, _c->supportYields() ); _capped = _c->capped(); // TODO This violates the current Cursor interface abstraction, but for now it's simpler to keep our own set of |