MySQL  8.0.20
Source Code Documentation
table_function.cc File Reference
#include "sql/table_function.h"
#include <string.h>
#include <memory>
#include <new>
#include <utility>
#include "field_types.h"
#include "m_ctype.h"
#include "m_string.h"
#include "my_sys.h"
#include "mysql/psi/psi_base.h"
#include "mysql_com.h"
#include "mysqld_error.h"
#include "prealloced_array.h"
#include "sql/error_handler.h"
#include "sql/field.h"
#include "sql/handler.h"
#include "sql/item.h"
#include "sql/item_json_func.h"
#include "sql/json_dom.h"
#include "sql/json_path.h"
#include "sql/psi_memory_key.h"
#include "sql/sql_class.h"
#include "sql/sql_exception_handler.h"
#include "sql/sql_list.h"
#include "sql/sql_show.h"
#include "sql/sql_table.h"
#include "sql/sql_tmp_table.h"
#include "sql/table.h"
#include "sql/thd_raii.h"
#include "sql_string.h"

Functions

static bool print_on_empty_error (const THD *thd, String *str, enum_query_type query_type, enum_jtc_on jto, const Item *default_string)
 
static bool print_nested_path (const THD *thd, const TABLE *table, const Json_table_column *col, enum_query_type query_type, String *str)
 Helper function to print a single NESTED PATH column. More...
 

Function Documentation

◆ print_nested_path()

static bool print_nested_path ( const THD thd,
const TABLE table,
const Json_table_column col,
enum_query_type  query_type,
String str 
)
static

Helper function to print a single NESTED PATH column.

Parameters
thdthe current session
tablethe TABLE object representing the JSON_TABLE expression
colthe column to print
query_typethe type of the query
strthe string to print to
Returns
true on error, false on success

◆ print_on_empty_error()

static bool print_on_empty_error ( const THD thd,
String str,
enum_query_type  query_type,
enum_jtc_on  jto,
const Item default_string 
)
static