diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2013-05-15 14:59:53 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2013-05-15 14:59:53 +1000 |
commit | dc84be5ab9ef9c30d04fd8043f297df5d020cb04 (patch) | |
tree | e50e43a094793780cbfe25d372d871b84f475fed | |
parent | 527e9c0e121648e430ba2c115c093cb90e7fc124 (diff) | |
download | mongo-dc84be5ab9ef9c30d04fd8043f297df5d020cb04.tar.gz |
typo
-rw-r--r-- | src/include/cursor.i | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/cursor.i b/src/include/cursor.i index 3aaf30358be..32d06d712fd 100644 --- a/src/include/cursor.i +++ b/src/include/cursor.i @@ -69,12 +69,12 @@ __cursor_leave(WT_CURSOR_BTREE *cbt) /* The key and value may be gone, clear the flags here. */ F_CLR(cursor, WT_CURSTD_KEY_RET | WT_CURSTD_VALUE_RET); - /* - * If the cursor was active, decrement the count of active cursors in - * the session. When that goes to zero, there are no active cursors, - * and we can release any snapshot we're holding for read committed - * isolation. - / + /* + * If the cursor was active, decrement the count of active cursors in + * the session. When that goes to zero, there are no active cursors, + * and we can release any snapshot we're holding for read committed + * isolation. + */ if (F_ISSET(cbt, WT_CBT_ACTIVE)) { WT_ASSERT(session, session->ncursors > 0); if (--session->ncursors == 0) @@ -83,10 +83,10 @@ __cursor_leave(WT_CURSOR_BTREE *cbt) } /* - * Release any page references we're holding. This can trigger - * eviction (e.g., forced eviction of big pages), so it is important to - * do it after releasing our snapshot above. - */ + * Release any page references we're holding. This can trigger + * eviction (e.g., forced eviction of big pages), so it is important to + * do it after releasing our snapshot above. + */ WT_RET(__wt_page_release(session, cbt->page)); cbt->page = NULL; |