diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/btree/col_srch.c')
-rw-r--r-- | src/third_party/wiredtiger/src/btree/col_srch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/src/btree/col_srch.c b/src/third_party/wiredtiger/src/btree/col_srch.c index c5e2abbe440..cb5a227495f 100644 --- a/src/third_party/wiredtiger/src/btree/col_srch.c +++ b/src/third_party/wiredtiger/src/btree/col_srch.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2014-2015 MongoDB, Inc. + * Copyright (c) 2014-2016 MongoDB, Inc. * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. * @@ -182,7 +182,8 @@ descend: /* * page; otherwise return on error, the swap call ensures we're * holding nothing on failure. */ - if ((ret = __wt_page_swap(session, current, descent, 0)) == 0) { + if ((ret = __wt_page_swap( + session, current, descent, WT_READ_RESTART_OK)) == 0) { current = descent; continue; } |