diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/include/btree_inline.h')
-rw-r--r-- | src/third_party/wiredtiger/src/include/btree_inline.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/third_party/wiredtiger/src/include/btree_inline.h b/src/third_party/wiredtiger/src/include/btree_inline.h index 41510592410..bc43d1a5725 100644 --- a/src/third_party/wiredtiger/src/include/btree_inline.h +++ b/src/third_party/wiredtiger/src/include/btree_inline.h @@ -1726,14 +1726,13 @@ __wt_page_swap_func(WT_SESSION_IMPL *session, WT_REF *held, WT_REF *want, uint32 bool acquired; /* - * This function is here to simplify the error handling during hazard - * pointer coupling so we never leave a hazard pointer dangling. The - * assumption is we're holding a hazard pointer on "held", and want to - * acquire a hazard pointer on "want", releasing the hazard pointer on + * This function is here to simplify the error handling during hazard pointer coupling so we + * never leave a hazard pointer dangling. The assumption is we're holding a hazard pointer on + * "held", and want to acquire a hazard pointer on "want", releasing the hazard pointer on * "held" when we're done. * - * When walking the tree, we sometimes swap to the same page. Fast-path - * that to avoid thinking about error handling. + * When walking the tree, we sometimes swap to the same page. Fast-path that to avoid thinking + * about error handling. */ if (held == want) return (0); |