MySQL 8.0.39
Source Code Documentation
|
File bootstrap command reader. More...
#include <bootstrap_impl.h>
Public Member Functions | |
File_command_iterator (const char *file_name, MYSQL_FILE *input, fgets_fn_t fgets_fn) | |
virtual | ~File_command_iterator () |
int | next (std::string &query) override |
Get the next query string. More... | |
void | report_error_details (log_function_t log) override |
Public Member Functions inherited from bootstrap::Command_iterator | |
virtual bool | begin (void) |
start processing the iterator More... | |
virtual void | end (void) |
End processing the iterator. More... | |
Protected Attributes | |
bootstrap_parser_state | m_parser_state |
MYSQL_FILE * | m_input |
fgets_fn_t | m_fgets_fn |
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 | |
File bootstrap command reader.
|
inline |
|
virtualdefault |
|
overridevirtual |
Get the next query string.
[out] | query | return the query |
Implements bootstrap::Command_iterator.
|
overridevirtual |
Implements bootstrap::Command_iterator.
|
protected |
|
protected |
|
protected |