MySQL 8.0.40
Source Code Documentation
|
A slot in the path array. More...
#include <btr0cur.h>
Public Attributes | |
ulint | nth_rec {ULINT_UNDEFINED} |
Index of the record where the page cursor stopped on this level (index in alphabetical order). More... | |
ulint | n_recs {ULINT_UNDEFINED} |
Number of the records on the page, not counting inf and sup. More... | |
page_no_t | page_no {FIL_NULL} |
Number of the page containing the record. More... | |
ulint | page_level {ULINT_UNDEFINED} |
Level of the page. More... | |
A slot in the path array.
We store here info on a search path down the tree. Each slot contains data on a single level of the tree.
ulint btr_path_t::n_recs {ULINT_UNDEFINED} |
Number of the records on the page, not counting inf and sup.
In the above example n_recs will be 4.
ulint btr_path_t::nth_rec {ULINT_UNDEFINED} |
Index of the record where the page cursor stopped on this level (index in alphabetical order).
Value ULINT_UNDEFINED denotes array end. In the above example, if the search stopped on record 'c', then nth_rec will be 3.
ulint btr_path_t::page_level {ULINT_UNDEFINED} |
Level of the page.
If later we fetch the page under page_no and it is on a different level then we know that the tree has been reorganized.