MySQL 8.4.3
Source Code Documentation
|
#include "sql/sql_cmd_ddl_table.h"
#include <string.h>
#include <sys/types.h>
#include "my_inttypes.h"
#include "my_sys.h"
#include "mysqld_error.h"
#include "scope_guard.h"
#include "sql/auth/auth_acls.h"
#include "sql/auth/auth_common.h"
#include "sql/binlog.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/derror.h"
#include "sql/error_handler.h"
#include "sql/handler.h"
#include "sql/item.h"
#include "sql/mysqld.h"
#include "sql/partition_info.h"
#include "sql/query_options.h"
#include "sql/query_result.h"
#include "sql/session_tracker.h"
#include "sql/sql_alter.h"
#include "sql/sql_base.h"
#include "sql/sql_class.h"
#include "sql/sql_data_change.h"
#include "sql/sql_error.h"
#include "sql/sql_insert.h"
#include "sql/sql_lex.h"
#include "sql/sql_list.h"
#include "sql/sql_parse.h"
#include "sql/sql_select.h"
#include "sql/sql_table.h"
#include "sql/sql_tablespace.h"
#include "sql/strfunc.h"
#include "sql/system_variables.h"
#include "sql/table.h"
#include "sql/thd_raii.h"
#include "thr_lock.h"
#include "sql/current_thd.h"
Functions | |
static bool | populate_table (THD *thd, LEX *lex) |
Populate tables from result of evaluating a query expression. More... | |
Populate tables from result of evaluating a query expression.
This function is required because a statement like CREATE TABLE ... SELECT cannot be implemented using DML statement execution functions since it performs an intermediate commit that requires special attention.
thd | thread handler |
lex | represents a prepared query expression |