MySQL 8.0.40
Source Code Documentation
|
Class representing a warning. More...
#include <warning.h>
Public Member Functions | |
Warning (std::uint32_t warning_code, const char *warning_name, bool once) | |
bool | expired () |
Check if a warning is disabled/enabled for next statement only. More... | |
bool | ignore_warning () |
Return ignore_warning flag value. More... | |
const char * | warning_name () |
Return a symbolic name representing a warning. More... | |
std::uint32_t | warning_code () |
Return a warning code. More... | |
void | set_ignore_warning (bool value) |
Set ignore_warning flag. More... | |
Private Attributes | |
bool | m_ignore_warning |
bool | m_once_property |
std::string | m_warning_name |
std::uint32_t | m_warning_code |
Class representing a warning.
Contains following information
|
inline |
|
inline |
Check if a warning is disabled/enabled for next statement only.
True | if the warning is disabled or enabled for next statement only, false otherwise. |
|
inline |
Return ignore_warning flag value.
True | if ignore_warning flag is set, false otherwise. |
|
inline |
Set ignore_warning flag.
value | Boolean value for ignore_warning flag |
|
inline |
Return a warning code.
Warning | code |
|
inline |
Return a symbolic name representing a warning.
Symbolic | name for a warning. |
|
private |
|
private |
|
private |
|
private |