MySQL 9.4.0
Source Code Documentation
content_tree.cc File Reference
#include "content_tree.h"
#include "m_string.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/strings/m_ctype.h"
#include "mysql_com.h"
#include "mysqld_error.h"
#include "option_usage.h"
#include "utils.h"
#include "sql/field.h"
#include "sql/item_json_func.h"
#include "sql/item_sum.h"
#include "sql/mem_root_array.h"
#include "sql/sql_lex.h"

Namespaces

namespace  jdv
 

Functions

static const char * jdv::get_primary_key_column_name (const Table_ref *table_ref)
 Returns primary key name given table. More...
 
static Fieldjdv::get_field_for_column (const Table_ref *table_ref, const char *fld_name)
 Get the field instance of a column. More...
 
static bool jdv::set_join_column_index_for_node (Content_tree_node *child_node, Content_tree_node *parent_node, Item_ident *side_ident, bool is_parent)
 Helper function to set join column index for a given node. More...
 
static bool jdv::prepare_join_condition (THD *thd, Query_block *sl, Content_tree_node *node)
 Helper function to prepare join condition for sub-object. More...
 
static bool jdv::prepare_content_tree_node (THD *thd, Content_tree_node *node)
 
Content_tree_node * jdv::prepare_content_tree (THD *thd, LEX *view_lex)
 Constructs the content tree for given JSON duality view. More...
 
void jdv::destroy_content_tree (Content_tree_node *root)
 Deletes the content tree for given JSON duality view. More...