diff options
author | Dan Pasette <dan@10gen.com> | 2015-01-27 05:48:08 -0500 |
---|---|---|
committer | Dan Pasette <dan@mongodb.com> | 2015-01-27 05:48:08 -0500 |
commit | e926b20df8bcb14985817d2b37c61e2f8889fb27 (patch) | |
tree | 9b717bb3965470297112fcdbf26dc0ece70721e2 /src/third_party/wiredtiger/src/txn/txn_ckpt.c | |
parent | ae258579edb7a9c6185a515bff5b57f8e80d0088 (diff) | |
download | mongo-e926b20df8bcb14985817d2b37c61e2f8889fb27.tar.gz |
Import wiredtiger-wiredtiger-mongodb-2.8-rc6-47-g5b3283e.tar.gz from wiredtiger branch mongodb-2.8
Diffstat (limited to 'src/third_party/wiredtiger/src/txn/txn_ckpt.c')
-rw-r--r-- | src/third_party/wiredtiger/src/txn/txn_ckpt.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/third_party/wiredtiger/src/txn/txn_ckpt.c b/src/third_party/wiredtiger/src/txn/txn_ckpt.c index 0cd341185f2..eae21d0b9f5 100644 --- a/src/third_party/wiredtiger/src/txn/txn_ckpt.c +++ b/src/third_party/wiredtiger/src/txn/txn_ckpt.c @@ -341,9 +341,10 @@ __wt_txn_checkpoint(WT_SESSION_IMPL *session, const char *cfg[]) * into the session cache, but we're going to do that eventually anyway. */ WT_WITH_SCHEMA_LOCK(session, - WT_WITH_DHANDLE_LOCK(session, - ret = __checkpoint_apply_all( - session, cfg, __wt_checkpoint_list, NULL))); + WT_WITH_TABLE_LOCK(session, + WT_WITH_DHANDLE_LOCK(session, + ret = __checkpoint_apply_all( + session, cfg, __wt_checkpoint_list, NULL)))); WT_ERR(ret); /* |