Skip to content

Commit

Permalink
MDEV-35457 Remove btr_cur_t::path_arr
Browse files Browse the repository at this point in the history
After MDEV-21136 fix, the btr_cur_t::path_arr field stayed declared, but
not used, wasting space in each btr_cur_t and btr_pcur_t. Remove it.
  • Loading branch information
vlad-lesin committed Nov 20, 2024
1 parent ba69d81 commit bcbeef6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions storage/innobase/include/btr0cur.h
Original file line number Diff line number Diff line change
Expand Up @@ -730,10 +730,6 @@ struct btr_cur_t {
ulint fold; /*!< fold value used in the search if
flag is BTR_CUR_HASH */
/* @} */
btr_path_t* path_arr; /*!< in estimating the number of
rows in range, we store in this array
information of the path through
the tree */
rtr_info_t* rtr_info; /*!< rtree search info */
btr_cur_t() { memset((void*) this, 0, sizeof *this); }

Expand Down

0 comments on commit bcbeef6

Please sign in to comment.