summaryrefslogtreecommitdiff
path: root/src/mongo/db/matcher
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2019-04-12 13:27:54 -0400
committerGeert Bosch <geert@mongodb.com>2019-04-15 11:24:05 -0400
commit688948927bedd25c4c5c50bc7e6a253feeec4e25 (patch)
treec1beee18d1d6acf197455542a0328f0190f8dc70 /src/mongo/db/matcher
parent03171bed9efdf0d25054fcddd936ad04db53f4aa (diff)
downloadmongo-688948927bedd25c4c5c50bc7e6a253feeec4e25.tar.gz
SERVER-40604 Make CollectionLock interruptible
Diffstat (limited to 'src/mongo/db/matcher')
-rw-r--r--src/mongo/db/matcher/expression_text.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/matcher/expression_text.cpp b/src/mongo/db/matcher/expression_text.cpp
index 7ff0317c424..0522f160b6f 100644
--- a/src/mongo/db/matcher/expression_text.cpp
+++ b/src/mongo/db/matcher/expression_text.cpp
@@ -57,7 +57,7 @@ TextMatchExpression::TextMatchExpression(OperationContext* opCtx,
{
// Find text index.
AutoGetDb autoDb(opCtx, nss.db(), MODE_IS);
- Lock::CollectionLock collLock(opCtx->lockState(), nss.ns(), MODE_IS);
+ Lock::CollectionLock collLock(opCtx, nss.ns(), MODE_IS);
Database* db = autoDb.getDb();
uassert(ErrorCodes::IndexNotFound,