MySQL 8.0.39
Source Code Documentation
Compiled_in_command_iterator Class Reference

#include <sql_initialize.h>

Inheritance diagram for Compiled_in_command_iterator:
[legend]

Public Member Functions

 Compiled_in_command_iterator ()=default
 
virtual ~Compiled_in_command_iterator ()=default
 
bool begin (void) override
 start processing the iterator More...
 
int next (std::string &query) override
 Get the next query string. More...
 
void report_error_details (log_function_t log) override
 
void end (void) override
 End processing the iterator. More...
 

Private Attributes

int m_cmds_ofs {0}
 
int m_cmd_ofs {0}
 

Additional Inherited Members

- Public Types inherited from bootstrap::Command_iterator
typedef void(* log_function_t) (const char *message)
 
- Protected Member Functions inherited from bootstrap::Command_iterator
 Command_iterator ()=default
 
 ~Command_iterator ()=default
 

Constructor & Destructor Documentation

◆ Compiled_in_command_iterator()

Compiled_in_command_iterator::Compiled_in_command_iterator ( )
default

◆ ~Compiled_in_command_iterator()

virtual Compiled_in_command_iterator::~Compiled_in_command_iterator ( )
virtualdefault

Member Function Documentation

◆ begin()

bool Compiled_in_command_iterator::begin ( void  )
overridevirtual

start processing the iterator

Return values
falseSuccess
truefailure

Reimplemented from bootstrap::Command_iterator.

◆ end()

void Compiled_in_command_iterator::end ( void  )
overridevirtual

End processing the iterator.

Reimplemented from bootstrap::Command_iterator.

◆ next()

int Compiled_in_command_iterator::next ( std::string &  query)
overridevirtual

Get the next query string.

Parameters
[out]queryreturn the query
Returns
one of the READ_BOOTSTRAP

Implements bootstrap::Command_iterator.

◆ report_error_details()

void Compiled_in_command_iterator::report_error_details ( log_function_t  log)
overridevirtual

Member Data Documentation

◆ m_cmd_ofs

int Compiled_in_command_iterator::m_cmd_ofs {0}
private

◆ m_cmds_ofs

int Compiled_in_command_iterator::m_cmds_ofs {0}
private

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