![]() |
MySQL 9.4.0
Source Code Documentation
|
Functions | |
void | visit_tree (jdv::Content_tree_node *root, auto &&visit_single_node) |
Iterative depth first traversal of the tree using a stack. More... | |
void | get_json_duality_views (Document *doc, jdv::Content_tree_node *root) |
void | get_json_duality_view_tables (Document *doc, jdv::Content_tree_node *root) |
void | get_json_duality_view_columns (Document *doc, jdv::Content_tree_node *root) |
void | get_json_duality_view_links (Document *doc, jdv::Content_tree_node *root) |
const char * | state_str (buf_page_state state) |
const char * | io_fix_str (buf_io_fix io_fix) |
const char * | lru_page_state_str (buf_page_state lru_state) |
Variables | |
constexpr char | default_catalog [] = "def" |
const std::unordered_map< buf_io_fix, std::string_view > | buf_io_fix_str |
const std::unordered_map< buf_page_state, std::string_view > | buf_lru_page_state_str |
void anonymous_namespace{i_s.cc}::get_json_duality_view_columns | ( | Document * | doc, |
jdv::Content_tree_node * | root | ||
) |
void anonymous_namespace{i_s.cc}::get_json_duality_view_links | ( | Document * | doc, |
jdv::Content_tree_node * | root | ||
) |
void anonymous_namespace{i_s.cc}::get_json_duality_view_tables | ( | Document * | doc, |
jdv::Content_tree_node * | root | ||
) |
void anonymous_namespace{i_s.cc}::get_json_duality_views | ( | Document * | doc, |
jdv::Content_tree_node * | root | ||
) |
const char * anonymous_namespace{i_s.cc}::io_fix_str | ( | buf_io_fix | io_fix | ) |
const char * anonymous_namespace{i_s.cc}::lru_page_state_str | ( | buf_page_state | lru_state | ) |
const char * anonymous_namespace{i_s.cc}::state_str | ( | buf_page_state | state | ) |
void anonymous_namespace{i_s.cc}::visit_tree | ( | jdv::Content_tree_node * | root, |
auto && | visit_single_node | ||
) |
Iterative depth first traversal of the tree using a stack.
We assign a temporary id to each table based on the order of traversal. This ought to be repeatable as long as the view does not change. The tree nodes cannot be const since we assign tmp ids.
root | |
visit_single_node |
const std::unordered_map<buf_io_fix, std::string_view> anonymous_namespace{i_s.cc}::buf_io_fix_str |
const std::unordered_map<buf_page_state, std::string_view> anonymous_namespace{i_s.cc}::buf_lru_page_state_str |
|
constexpr |