diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/btree/bt_cursor.c')
-rw-r--r-- | src/third_party/wiredtiger/src/btree/bt_cursor.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/third_party/wiredtiger/src/btree/bt_cursor.c b/src/third_party/wiredtiger/src/btree/bt_cursor.c index c410df4a76a..6b2d5bb60ca 100644 --- a/src/third_party/wiredtiger/src/btree/bt_cursor.c +++ b/src/third_party/wiredtiger/src/btree/bt_cursor.c @@ -611,19 +611,6 @@ __wt_btcur_reset(WT_CURSOR_BTREE *cbt) WT_STAT_CONN_DATA_INCR(session, cursor_reset); - /* Clear bounds if they are set. */ - if (F_ISSET(cursor, WT_CURSTD_BOUNDS_SET)) { - WT_STAT_CONN_DATA_INCR(session, cursor_bounds_reset); - /* Clear upper bound, and free the buffer. */ - F_CLR(cursor, WT_CURSTD_BOUND_UPPER | WT_CURSTD_BOUND_UPPER_INCLUSIVE); - __wt_buf_free(session, &cursor->upper_bound); - WT_CLEAR(cursor->upper_bound); - /* Clear lower bound, and free the buffer. */ - F_CLR(cursor, WT_CURSTD_BOUND_LOWER | WT_CURSTD_BOUND_LOWER_INCLUSIVE); - __wt_buf_free(session, &cursor->lower_bound); - WT_CLEAR(cursor->lower_bound); - } - F_CLR(cursor, WT_CURSTD_KEY_SET | WT_CURSTD_VALUE_SET); return (__cursor_reset(cbt)); |