MySQL 8.0.39
Source Code Documentation
Mysql::Tools::Base::Warning_data Class Reference

#include <message_data.h>

Inheritance diagram for Mysql::Tools::Base::Warning_data:
[legend]

Public Member Functions

 Warning_data (uint64 code, std::string message, Message_type message_type)
 
void print_error (std::string program_name) const override
 Prints errors, warnings and notes to standard error. More...
 
- Public Member Functions inherited from Mysql::Tools::Base::Message_data
 Message_data (uint64 code, std::string message, Message_type message_type)
 
virtual ~Message_data ()=default
 
uint64 get_code () const
 
std::string get_message () const
 
Message_type get_message_type () const
 
bool is_fatal () const
 Check if fatal error is encountered that mysql_upgrade cannot ignore. More...
 
std::string get_message_type_string () const
 

Additional Inherited Members

- Static Public Attributes inherited from Mysql::Tools::Base::Message_data
static const char * message_type_strings []
 
static const int message_type_strings_count
 

Constructor & Destructor Documentation

◆ Warning_data()

Mysql::Tools::Base::Warning_data::Warning_data ( uint64  code,
std::string  message,
Message_type  message_type 
)
inline

Member Function Documentation

◆ print_error()

void Warning_data::print_error ( std::string  program_name) const
overridevirtual

Prints errors, warnings and notes to standard error.

Reimplemented from Mysql::Tools::Base::Message_data.


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