summaryrefslogtreecommitdiff
path: root/src/txn
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2017-02-14 15:32:43 +1100
committerAlex Gorrod <alexander.gorrod@mongodb.com>2017-02-14 15:32:43 +1100
commit5b16ddd3815fb043061ac35151e277b919d7e463 (patch)
tree80461410e2c376f485f86bb2fb5915efdc327ebb /src/txn
parentdc33b134ea0e231fd87924c6a50e6f8230a7c6bf (diff)
downloadmongo-5b16ddd3815fb043061ac35151e277b919d7e463.tar.gz
WT-3152 Switch the table lock to a rwlock. (#3291)
Diffstat (limited to 'src/txn')
-rw-r--r--src/txn/txn_ckpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txn/txn_ckpt.c b/src/txn/txn_ckpt.c
index 5932e058552..3261c8089f4 100644
--- a/src/txn/txn_ckpt.c
+++ b/src/txn/txn_ckpt.c
@@ -650,7 +650,7 @@ __txn_checkpoint(WT_SESSION_IMPL *session, const char *cfg[])
*/
WT_ASSERT(session, session->ckpt_handle_next == 0);
WT_WITH_SCHEMA_LOCK(session,
- WT_WITH_TABLE_LOCK(session,
+ WT_WITH_TABLE_READ_LOCK(session,
ret = __checkpoint_apply_all(
session, cfg, __wt_checkpoint_get_handles, NULL)));
WT_ERR(ret);