MySQL 9.1.0
Source Code Documentation
bootstrap.cc File Reference
#include "sql/bootstrap.h"
#include "my_config.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <string>
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "my_thread.h"
#include "mysql/components/services/log_builtins.h"
#include "mysql/components/services/log_shared.h"
#include "mysql/my_loglevel.h"
#include "mysql/psi/mysql_file.h"
#include "mysql/psi/mysql_thread.h"
#include "mysql_com.h"
#include "mysqld_error.h"
#include "scope_guard.h"
#include "sql/auth/sql_security_ctx.h"
#include "sql/bootstrap_impl.h"
#include "sql/error_handler.h"
#include "sql/log.h"
#include "sql/mysqld.h"
#include "sql/mysqld_thd_manager.h"
#include "sql/protocol_classic.h"
#include "sql/query_options.h"
#include "sql/sd_notify.h"
#include "sql/set_var.h"
#include "sql/sql_bootstrap.h"
#include "sql/sql_class.h"
#include "sql/sql_connect.h"
#include "sql/sql_error.h"
#include "sql/sql_initialize.h"
#include "sql/sql_lex.h"
#include "sql/sql_parse.h"
#include "sql/sql_profile.h"
#include "sql/sys_vars_shared.h"
#include "sql/system_variables.h"
#include "sql/thd_raii.h"
#include "sql/transaction_info.h"
#include "string_with_len.h"

Classes

struct  bootstrap::handle_bootstrap_args
 

Namespaces

namespace  bootstrap
 

Functions

static char * bootstrap::mysql_file_fgets_fn (char *buffer, size_t size, MYSQL_FILE *input, int *error)
 
static void bootstrap::bootstrap_log_error (const char *message)
 
static int bootstrap::process_iterator (THD *thd, Command_iterator *it, bool enforce_invariants)
 
static bool bootstrap::handle_bootstrap_impl (handle_bootstrap_args *args)
 
static void * bootstrap::handle_bootstrap (void *arg)
 Execute commands from bootstrap_file. More...
 
bool bootstrap::run_bootstrap_thread (const char *file_name, MYSQL_FILE *file, bootstrap_functor boot_handler, enum_thread_type thread_type)
 Create a thread to execute all commands from the submitted file. More...