diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2018-06-12 16:12:24 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2018-06-15 13:57:07 -0400 |
commit | e733c07891c2f1e16320707317eeb28559bdc03f (patch) | |
tree | 3996cacafb06f58e2d35f13b779cdc632c84bde9 /src/mongo/dbtests/query_stage_sort.cpp | |
parent | 4b23c5793849cb9a6943607d2a55d7306e61eed4 (diff) | |
download | mongo-e733c07891c2f1e16320707317eeb28559bdc03f.tar.gz |
SERVER-35516 Get rid of OldClientWriteContext
Diffstat (limited to 'src/mongo/dbtests/query_stage_sort.cpp')
-rw-r--r-- | src/mongo/dbtests/query_stage_sort.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/dbtests/query_stage_sort.cpp b/src/mongo/dbtests/query_stage_sort.cpp index 6da81f409a7..cfa651d2ed9 100644 --- a/src/mongo/dbtests/query_stage_sort.cpp +++ b/src/mongo/dbtests/query_stage_sort.cpp @@ -236,7 +236,7 @@ public: } void run() { - OldClientWriteContext ctx(&_opCtx, ns()); + dbtests::WriteContextForTests ctx(&_opCtx, ns()); Database* db = ctx.db(); Collection* coll = db->getCollection(&_opCtx, ns()); if (!coll) { @@ -258,7 +258,7 @@ public: } void run() { - OldClientWriteContext ctx(&_opCtx, ns()); + dbtests::WriteContextForTests ctx(&_opCtx, ns()); Database* db = ctx.db(); Collection* coll = db->getCollection(&_opCtx, ns()); if (!coll) { @@ -289,7 +289,7 @@ public: } void run() { - OldClientWriteContext ctx(&_opCtx, ns()); + dbtests::WriteContextForTests ctx(&_opCtx, ns()); Database* db = ctx.db(); Collection* coll = db->getCollection(&_opCtx, ns()); if (!coll) { @@ -314,7 +314,7 @@ public: } void run() { - OldClientWriteContext ctx(&_opCtx, ns()); + dbtests::WriteContextForTests ctx(&_opCtx, ns()); Database* db = ctx.db(); Collection* coll = db->getCollection(&_opCtx, ns()); if (!coll) { @@ -426,7 +426,7 @@ public: } void run() { - OldClientWriteContext ctx(&_opCtx, ns()); + dbtests::WriteContextForTests ctx(&_opCtx, ns()); Database* db = ctx.db(); Collection* coll = db->getCollection(&_opCtx, ns()); if (!coll) { @@ -525,7 +525,7 @@ public: } void run() { - OldClientWriteContext ctx(&_opCtx, ns()); + dbtests::WriteContextForTests ctx(&_opCtx, ns()); Database* db = ctx.db(); Collection* coll = db->getCollection(&_opCtx, ns()); if (!coll) { |