mirror of
https://github.com/MariaDB/server.git
synced 2025-07-18 23:03:28 +03:00
In case of error last_pos points to null_element and there is no any other children. tree_search_next() walks the children from last_pos until the leaves (null_element) ignoring the case the topmost parent in search state is the leaf itself.