MySQL 8.0.40
Source Code Documentation
|
This internal handler implements upgrade from SL_WARNING to SL_ERROR for the error codes affected by STRICT mode. More...
#include <error_handler.h>
Public Types | |
enum | enum_set_select_behavior { DISABLE_SET_SELECT_STRICT_ERROR_HANDLER , ENABLE_SET_SELECT_STRICT_ERROR_HANDLER } |
Public Member Functions | |
Strict_error_handler () | |
Strict_error_handler (enum_set_select_behavior param) | |
bool | handle_condition (THD *thd, uint sql_errno, const char *sqlstate, Sql_condition::enum_severity_level *level, const char *msg) override |
Implementation of STRICT mode. More... | |
Private Attributes | |
enum_set_select_behavior | m_set_select_behavior |
Additional Inherited Members | |
Protected Member Functions inherited from Internal_error_handler | |
Internal_error_handler () | |
Internal_error_handler * | prev_internal_handler () const |
virtual | ~Internal_error_handler ()=default |
This internal handler implements upgrade from SL_WARNING to SL_ERROR for the error codes affected by STRICT mode.
Currently STRICT mode does not affect SELECT statements.
|
inline |
|
inline |
|
overridevirtual |
Implementation of STRICT mode.
Upgrades a set of given conditions from warning to error.
Implements Internal_error_handler.
|
private |