MySQL 8.4.3
Source Code Documentation
Drop_tables_query_builder Class Reference

Auxiliary class which is used to construct synthesized DROP TABLES statements for the binary log during execution of DROP TABLES statement. More...

Public Member Functions

 Drop_tables_query_builder (THD *thd, bool temporary, bool if_exists, bool is_trans, bool no_db)
 
 Drop_tables_query_builder (THD *thd, bool if_exists)
 
void add_table (const Table_ref *table)
 
void add_array (const Prealloced_array< Table_ref *, 1 > &tables)
 
bool write_bin_log ()
 

Private Member Functions

void add_table_impl (const Table_ref *table)
 

Private Attributes

bool m_bin_log_is_open
 
THDm_thd
 
bool m_is_trans
 
bool m_no_db
 
String m_built_query
 

Detailed Description

Auxiliary class which is used to construct synthesized DROP TABLES statements for the binary log during execution of DROP TABLES statement.

Constructor & Destructor Documentation

◆ Drop_tables_query_builder() [1/2]

Drop_tables_query_builder::Drop_tables_query_builder ( THD thd,
bool  temporary,
bool  if_exists,
bool  is_trans,
bool  no_db 
)
inline

◆ Drop_tables_query_builder() [2/2]

Drop_tables_query_builder::Drop_tables_query_builder ( THD thd,
bool  if_exists 
)
inline

Member Function Documentation

◆ add_array()

void Drop_tables_query_builder::add_array ( const Prealloced_array< Table_ref *, 1 > &  tables)
inline

◆ add_table()

void Drop_tables_query_builder::add_table ( const Table_ref table)
inline

◆ add_table_impl()

void Drop_tables_query_builder::add_table_impl ( const Table_ref table)
inlineprivate

◆ write_bin_log()

bool Drop_tables_query_builder::write_bin_log ( )
inline

Member Data Documentation

◆ m_bin_log_is_open

bool Drop_tables_query_builder::m_bin_log_is_open
private

◆ m_built_query

String Drop_tables_query_builder::m_built_query
private

◆ m_is_trans

bool Drop_tables_query_builder::m_is_trans
private

◆ m_no_db

bool Drop_tables_query_builder::m_no_db
private

◆ m_thd

THD* Drop_tables_query_builder::m_thd
private

The documentation for this class was generated from the following file: