MySQL 9.1.0
Source Code Documentation
|
Abstract interface to reading bootstrap commands. More...
#include <bootstrap_impl.h>
Public Types | |
typedef void(* | log_function_t) (const char *message) |
Public Member Functions | |
virtual bool | begin (void) |
start processing the iterator More... | |
virtual int | next (std::string &query)=0 |
Get the next query string. More... | |
virtual void | report_error_details (log_function_t log)=0 |
virtual void | end (void) |
End processing the iterator. More... | |
Protected Member Functions | |
Command_iterator ()=default | |
~Command_iterator ()=default | |
Abstract interface to reading bootstrap commands.
typedef void(* bootstrap::Command_iterator::log_function_t) (const char *message) |
|
protecteddefault |
|
protecteddefault |
|
inlinevirtual |
start processing the iterator
false | Success |
true | failure |
Reimplemented in Compiled_in_command_iterator.
|
inlinevirtual |
End processing the iterator.
Reimplemented in Compiled_in_command_iterator.
|
pure virtual |
Get the next query string.
[out] | query | return the query |
Implemented in bootstrap::File_command_iterator, and Compiled_in_command_iterator.
|
pure virtual |
Implemented in bootstrap::File_command_iterator, and Compiled_in_command_iterator.