MySQL 9.0.0
Source Code Documentation
bootstrap_parser_state Struct Reference

#include <sql_bootstrap.h>

Public Types

typedef void(* log_function_t) (const char *message)
 

Public Member Functions

void init (const char *filename)
 
void report_error_details (log_function_t log)
 

Public Attributes

unique_ptr_free< char > m_unget_buffer
 
size_t m_unget_buffer_length
 
delimiter_state m_delimiter
 
code_parsing_state m_code_state
 
const char * m_filename
 
size_t m_current_line
 
enum bootstrap_error m_last_error
 
int m_io_sub_error
 
bootstrap_parser_position m_last_delimiter
 
bootstrap_parser_position m_last_open_single_quote
 
bootstrap_parser_position m_last_open_double_quote
 
bootstrap_parser_position m_last_open_comment
 
bootstrap_parser_position m_last_query_start
 

Member Typedef Documentation

◆ log_function_t

typedef void(* bootstrap_parser_state::log_function_t) (const char *message)

Member Function Documentation

◆ init()

void bootstrap_parser_state::init ( const char *  filename)

◆ report_error_details()

void bootstrap_parser_state::report_error_details ( log_function_t  log)

Member Data Documentation

◆ m_code_state

code_parsing_state bootstrap_parser_state::m_code_state

◆ m_current_line

size_t bootstrap_parser_state::m_current_line

◆ m_delimiter

delimiter_state bootstrap_parser_state::m_delimiter

◆ m_filename

const char* bootstrap_parser_state::m_filename

◆ m_io_sub_error

int bootstrap_parser_state::m_io_sub_error

◆ m_last_delimiter

bootstrap_parser_position bootstrap_parser_state::m_last_delimiter

◆ m_last_error

enum bootstrap_error bootstrap_parser_state::m_last_error

◆ m_last_open_comment

bootstrap_parser_position bootstrap_parser_state::m_last_open_comment

◆ m_last_open_double_quote

bootstrap_parser_position bootstrap_parser_state::m_last_open_double_quote

◆ m_last_open_single_quote

bootstrap_parser_position bootstrap_parser_state::m_last_open_single_quote

◆ m_last_query_start

bootstrap_parser_position bootstrap_parser_state::m_last_query_start

◆ m_unget_buffer

unique_ptr_free<char> bootstrap_parser_state::m_unget_buffer

◆ m_unget_buffer_length

size_t bootstrap_parser_state::m_unget_buffer_length

The documentation for this struct was generated from the following files: